diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-03-10 22:27:38 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-03-10 22:59:22 +0100 |
commit | df6097ab4fc7008997caa93fb6674b1e2599e227 (patch) | |
tree | 328628974670403b9c7209c6362cc7be12d5b37c /sdext | |
parent | 5bec57a0b784a3bc8a181705f04f7af53ca4e04b (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.cxx | 7 |
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 { |