summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/ConnectionWrapper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-08-29 16:05:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-08-29 16:08:02 +0200
commit2410b3c3ddc6fea02dadd56b39bb1181312c383a (patch)
tree643b2de180b081764eef85e7e88afd1ec5104e81 /connectivity/source/commontools/ConnectionWrapper.cxx
parentcfdfd1ad7652ee3699115618465a85e3431b33f3 (diff)
TPropertyValueLessFunctor must actually compare for "<"
Change-Id: I584a410d90531a0f7b784e62f94c39e715713cf1
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 4b9f62019c51..1287acff5d1c 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;
}
};