diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-11-10 10:48:15 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-11-10 10:49:31 +0100 |
commit | 26364f4fd346c36f2c3ba4c2228d62de845fe13e (patch) | |
tree | a43e24f94c8c05b2fac6c20ebe5ddaafe8250917 /sdext | |
parent | 7f97d3140735126d0b89a0675985776cf2acb6d4 (diff) |
deduplicate OString std::basic_ostream operators
I wanted to add one, based on OUString one, and Stephan on IRC agreed
it's a good idea. Then it turned out we already had it in sal unit
tests, sdext and unodevtools as well. Get rid of all these, and have a
single implementation in string.hxx, so it can be used everywhere.
Change-Id: Ibb820f20a138d055fd87036253c627fb862a31fe
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/test/tests.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sdext/source/pdfimport/test/tests.cxx b/sdext/source/pdfimport/test/tests.cxx index a452ba0b4828..547561916352 100644 --- a/sdext/source/pdfimport/test/tests.cxx +++ b/sdext/source/pdfimport/test/tests.cxx @@ -72,16 +72,6 @@ using namespace ::pdfparse; using namespace ::pdfi; using namespace ::com::sun::star; -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 { |