Fixed build breakage.

This commit is contained in:
Kohei Yoshida
2011-08-18 00:11:46 -04:00
parent efc6b840a0
commit aea70b22af

View File

@@ -1050,7 +1050,9 @@ try
) )
{ {
// binary search // 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 if ( pResult
&& ( pResult != pNewProps + nNewLen && pResult->Name == pOldProps[i].Name ) && ( pResult != pNewProps + nNewLen && pResult->Name == pOldProps[i].Name )
&& ( (pResult->Attributes & PropertyAttribute::READONLY) == 0 ) && ( (pResult->Attributes & PropertyAttribute::READONLY) == 0 )