From df6097ab4fc7008997caa93fb6674b1e2599e227 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Sat, 10 Mar 2012 22:27:38 +0100 Subject: operator must be in template or argument namespace clang has more strict (and probably more spec compliant) lookup --- sdext/source/pdfimport/test/tests.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sdext') 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 & operator <<( std::basic_ostream & stream, rtl::OString const & string) { return stream << string.getStr(); } +} + +namespace +{ class TestSink : public ContentSink { -- cgit v1.2.3