summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/importtest.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/test/importtest.cpp b/src/test/importtest.cpp
index c09bfd8..8554309 100644
--- a/src/test/importtest.cpp
+++ b/src/test/importtest.cpp
@@ -13,15 +13,20 @@
#include <cppunit/extensions/HelperMacros.h>
#include "xmldrawinggenerator.h"
-namespace
+namespace librevenge
{
/// Allows using CPPUNIT_ASSERT_EQUAL() on librevenge::RVNGString instances.
-std::ostream &operator <<(std::ostream &s, const librevenge::RVNGString &string)
+std::ostream &operator <<(std::ostream &s, const RVNGString &string)
{
return s << string.cstr();
}
+}
+
+namespace
+{
+
/// Caller must call xmlXPathFreeObject.
xmlXPathObjectPtr getXPathNode(xmlDocPtr doc, const librevenge::RVNGString &xpath)
{