summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-08-18 00:11:46 -0400
committerKohei Yoshida <kohei.yoshida@suse.com>2011-08-18 00:11:46 -0400
commitaea70b22af92ca6ed013bf6c78a6fdcae58d13cc (patch)
tree5b205dfa31b3dc40af5ab4cbd3890feb0284ed13 /connectivity
parentefc6b840a0423099d6c3e0d33c14d34637fbba4c (diff)
Fixed build breakage.
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/commontools/dbtools.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/connectivity/source/commontools/dbtools.cxx b/connectivity/source/commontools/dbtools.cxx
index 053cc61161f2..1d6e63fd835e 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 )