Correct error in patch for bug 96647. Transformiix standalone only, doesn't affect mozilla build.

This commit is contained in:
peterv%netscape.com 2005-11-02 07:37:42 +00:00
parent d980bd86f3
commit 68ae6b4713
2 changed files with 8 additions and 1 deletions

View File

@ -124,6 +124,13 @@ public:
class txStreamXMLEventHandler : public txOutputXMLEventHandler
{
public:
/**
* Get the output stream.
*
* @param aOutputStream the current output stream
*/
void getOutputStream(ostream** aOutputStream);
/*
* Sets the output stream.
*

View File

@ -254,7 +254,7 @@ void txXMLOutput::startElement(const String& aName,
void txXMLOutput::getOutputStream(ostream** aOutputStream)
{
if (aOutputStream)
aOutputStream = mOut;
*aOutputStream = mOut;
}
void txXMLOutput::setOutputStream(ostream* aOutputStream)