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

git-svn-id: svn://10.0.0.236/trunk@112689 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterv%netscape.com 2002-01-24 14:03:36 +00:00
parent 627640cc69
commit f0175470e3
3 changed files with 9 additions and 2 deletions

View File

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

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)