summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/ConnectionWrapper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/commontools/ConnectionWrapper.cxx')
-rw-r--r--connectivity/source/commontools/ConnectionWrapper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/ConnectionWrapper.cxx b/connectivity/source/commontools/ConnectionWrapper.cxx
index fbf4082f37d4..cd6d77477017 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;
}
};