connectivity/source/commontools/ConnectionWrapper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 89706a7549ca494cd4f70f6210f53ddab923169e Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Aug 29 16:05:01 2013 +0200 TPropertyValueLessFunctor must actually compare for "<" Change-Id: I584a410d90531a0f7b784e62f94c39e715713cf1 (cherry picked from commit 2410b3c3ddc6fea02dadd56b39bb1181312c383a) Reviewed-on: https://gerrit.libreoffice.org/5683 Reviewed-by: Fridrich Strba <fridr...@documentfoundation.org> Tested-by: Fridrich Strba <fridr...@documentfoundation.org> diff --git a/connectivity/source/commontools/ConnectionWrapper.cxx b/connectivity/source/commontools/ConnectionWrapper.cxx index 8506fef..2fc5a97 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; } }; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits