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:30 +0000
commit89706a7549ca494cd4f70f6210f53ddab923169e (patch)
tree8b61030e8103862cc7bbab8fdae7d55cbfecd167
parent6c4caf52724629d15a1d73c51c4f66e4f6011f7a (diff)
TPropertyValueLessFunctor must actually compare for "<"
Change-Id: I584a410d90531a0f7b784e62f94c39e715713cf1 (cherry picked from commit 2410b3c3ddc6fea02dadd56b39bb1181312c383a) Reviewed-on: https://gerrit.libreoffice.org/5683 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 8506fef0b7dd..2fc5a977a5e2 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;
}
};