[Libreoffice-commits] .: connectivity/source

Kohei Yoshida kohei at kemper.freedesktop.org
Wed Aug 17 21:11:39 PDT 2011


 connectivity/source/commontools/dbtools.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit aea70b22af92ca6ed013bf6c78a6fdcae58d13cc
Author: Kohei Yoshida <kohei.yoshida at suse.com>
Date:   Thu Aug 18 00:11:46 2011 -0400

    Fixed build breakage.

diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx
index 053cc61..1d6e63f 100644
--- a/connectivity/source/commontools/dbtools.cxx
+++ b/connectivity/source/commontools/dbtools.cxx
@@ -1050,7 +1050,9 @@ try
             )
         {
             // binary search
-            Property* pResult = ::std::lower_bound(pNewProps, pNewProps + nNewLen,pOldProps[i].Name, ::comphelper::PropertyStringLessFunctor());
+            Property* pResult = ::std::lower_bound(
+                pNewProps, pNewProps + nNewLen, pOldProps[i], ::comphelper::PropertyCompareByName());
+
             if (    pResult
                 && ( pResult != pNewProps + nNewLen && pResult->Name == pOldProps[i].Name )
                 && ( (pResult->Attributes & PropertyAttribute::READONLY) == 0 )


More information about the Libreoffice-commits mailing list