dbertoni 2002/11/27 11:14:40
Modified: c/samples/ParsedSourceWrappers ParsedSourceWrappers.cpp
Log:
Use macros instead of std::.
Revision Changes Path
1.8 +3 -6
xml-xalan/c/samples/ParsedSourceWrappers/ParsedSourceWrappers.cpp
Index: ParsedSourceWrappers.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/samples/ParsedSourceWrappers/ParsedSourceWrappers.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ParsedSourceWrappers.cpp 26 Nov 2002 02:28:00 -0000 1.7
+++ ParsedSourceWrappers.cpp 27 Nov 2002 19:14:39 -0000 1.8
@@ -239,18 +239,15 @@
return theResult;
}
-// This sample shows how existing Xerces DOM_Document instances and
XalanSourceTreeDocument
+// This sample shows how existing Xerces DOMDocument instances and
XalanSourceTreeDocument
// instances can be wrapped to use as input for to an instance of
XalanTransformer.
int
main(
int argc,
const char* /* argv */[])
{
-#if !defined(XALAN_NO_NAMESPACES)
- using std::cout;
- using std::cerr;
- using std::endl;
-#endif
+ XALAN_USING_STD(cerr)
+ XALAN_USING_STD(endl)
int theResult = -1;
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]