summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-03-10 22:27:38 +0100
committerLuboš Luňák <l.lunak@suse.cz>2012-03-10 22:59:22 +0100
commitdf6097ab4fc7008997caa93fb6674b1e2599e227 (patch)
tree328628974670403b9c7209c6362cc7be12d5b37c /sdext
parent5bec57a0b784a3bc8a181705f04f7af53ca4e04b (diff)
operator must be in template or argument namespace
clang has more strict (and probably more spec compliant) lookup
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/test/tests.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sdext/source/pdfimport/test/tests.cxx b/sdext/source/pdfimport/test/tests.cxx
index a98600c8f855..d3fa3e748b31 100644
--- a/sdext/source/pdfimport/test/tests.cxx
+++ b/sdext/source/pdfimport/test/tests.cxx
@@ -87,15 +87,18 @@ using namespace ::pdfparse;
using namespace ::pdfi;
using namespace ::com::sun::star;
-namespace
+namespace rtl
{
-
template< typename charT, typename traits > std::basic_ostream<charT, traits> &
operator <<(
std::basic_ostream<charT, traits> & stream, rtl::OString const & string)
{
return stream << string.getStr();
}
+}
+
+namespace
+{
class TestSink : public ContentSink
{