[Libreoffice-commits] core.git: connectivity/source

Stephan Bergmann sbergman at redhat.com
Thu Aug 29 07:08:16 PDT 2013


 connectivity/source/commontools/ConnectionWrapper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2410b3c3ddc6fea02dadd56b39bb1181312c383a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Aug 29 16:05:01 2013 +0200

    TPropertyValueLessFunctor must actually compare for "<"
    
    Change-Id: I584a410d90531a0f7b784e62f94c39e715713cf1

diff --git a/connectivity/source/commontools/ConnectionWrapper.cxx b/connectivity/source/commontools/ConnectionWrapper.cxx
index 4b9f620..1287acf 100644
--- a/connectivity/source/commontools/ConnectionWrapper.cxx
+++ b/connectivity/source/commontools/ConnectionWrapper.cxx
@@ -187,7 +187,7 @@ namespace
         {}
         bool operator() (const ::com::sun::star::beans::PropertyValue& lhs, const ::com::sun::star::beans::PropertyValue& rhs) const
         {
-            return !!(lhs.Name.equalsIgnoreAsciiCase( rhs.Name ));
+            return lhs.Name.compareToIgnoreAsciiCase(rhs.Name) < 0;
         }
     };
 


More information about the Libreoffice-commits mailing list