summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-08-29 16:05:01 +0200
committerFridrich Strba <fridrich@documentfoundation.org>2013-08-30 07:03:09 +0000
commite127266b1c54586f2df14ee0a1578f823e9c3ca2 (patch)
tree497c6fd7669ba3255722bbff23dc5af873c96d54
parent8b665b58af200b51ec6d884168d3781899ed5ba0 (diff)
TPropertyValueLessFunctor must actually compare for "<"
Change-Id: I584a410d90531a0f7b784e62f94c39e715713cf1 (cherry picked from commit 2410b3c3ddc6fea02dadd56b39bb1181312c383a) Reviewed-on: https://gerrit.libreoffice.org/5686 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
-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;
}
};