summaryrefslogtreecommitdiff
path: root/ACEXML/examples/SAXPrint/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACEXML/examples/SAXPrint/main.cpp')
-rw-r--r--ACEXML/examples/SAXPrint/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ACEXML/examples/SAXPrint/main.cpp b/ACEXML/examples/SAXPrint/main.cpp
index 86bf8ed86c5..9f01f522f3a 100644
--- a/ACEXML/examples/SAXPrint/main.cpp
+++ b/ACEXML/examples/SAXPrint/main.cpp
@@ -1,6 +1,7 @@
// $Id$
#include "ACEXML/common/FileCharStream.h"
+#include "ACEXML/common/StrCharStream.h"
#include "ACEXML/parser/parser/Parser.h"
#include "ACEXML/parser/parser/Parser.h"
#include "Print_Handler.h"
@@ -69,7 +70,7 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
ACE_NEW_RETURN (stm,
ACEXML_StrCharStream (test_string),
- 1);
+ -1);
}
if (sax == 0)