[Libreoffice-commits] .: sc/qa

Lubos Lunak llunak at kemper.freedesktop.org
Wed Apr 4 07:43:10 PDT 2012


 sc/qa/unit/helper/debughelper.hxx |   13 -------------
 1 file changed, 13 deletions(-)

New commits:
commit 34f4cc01241c916c7d2a39360bc98af6d67dbb6a
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Wed Apr 4 16:42:01 2012 +0200

    remove unused code
    
    The operator is now automatically provided by ustring.hxx, and I think
    this one would not be found with C++11-compliant namespace lookup anyway.

diff --git a/sc/qa/unit/helper/debughelper.hxx b/sc/qa/unit/helper/debughelper.hxx
index 6a01f52..1312e04 100644
--- a/sc/qa/unit/helper/debughelper.hxx
+++ b/sc/qa/unit/helper/debughelper.hxx
@@ -56,19 +56,6 @@ using ::std::endl;
 using ::std::vector;
 
 
-
-namespace {
-
-#ifdef __GNUC__
-__attribute__((used))
-#endif
-::std::ostream& operator<< (::std::ostream& os, const rtl::OUString& str)
-{
-    return os << ::rtl::OUStringToOString(str, RTL_TEXTENCODING_UTF8).getStr();
-}
-
-}
-
 class SheetPrinter
 {
     typedef ::mdds::mixed_type_matrix<OUString, bool> MatrixType;


More information about the Libreoffice-commits mailing list