[Libreoffice-commits] .: binfilter/inc

Caolán McNamara caolan at kemper.freedesktop.org
Wed Feb 15 03:07:18 PST 2012


 binfilter/inc/bf_tools/string.hxx |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit 1807578ea9f2d5518244839d4607316b7455fb20
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Feb 15 10:05:42 2012 +0000

    lock in those ByteString gains so there's no back-sliding

diff --git a/binfilter/inc/bf_tools/string.hxx b/binfilter/inc/bf_tools/string.hxx
index 3eab25a..b5944c0 100644
--- a/binfilter/inc/bf_tools/string.hxx
+++ b/binfilter/inc/bf_tools/string.hxx
@@ -261,8 +261,6 @@ public:
 
     const sal_Char*     GetBuffer() const { return mpData->maStr; }
 
-    friend sal_Bool         operator == ( const ::ByteString& rStr1,  const ByteString& rStr2 )
-                            { return rStr1.Equals( rStr2 ); }
     friend sal_Bool         operator == ( const ByteString& rStr1,  const ::ByteString& rStr2 )
                             { return rStr1.Equals( rStr2 ); }
     friend sal_Bool         operator == ( const ByteString& rStr1,  const ByteString& rStr2 )
@@ -271,10 +269,6 @@ public:
                             { return rStr.Equals( pCharStr ); }
     friend sal_Bool         operator == ( const sal_Char* pCharStr, const ByteString& rStr )
                             { return rStr.Equals( pCharStr ); }
-    friend sal_Bool         operator != ( const ::ByteString& rStr1,  const ByteString& rStr2 )
-                            { return !(operator == ( rStr1, rStr2 )); }
-    friend sal_Bool         operator != ( const ByteString& rStr1,  const ::ByteString& rStr2 )
-                            { return !(operator == ( rStr1, rStr2 )); }
     friend sal_Bool         operator != ( const ByteString& rStr1,  const ByteString& rStr2 )
                             { return !(operator == ( rStr1, rStr2 )); }
     friend sal_Bool         operator != ( const ByteString& rStr,   const sal_Char* pCharStr )


More information about the Libreoffice-commits mailing list