Replaced a few equal calls with ==

This commit is contained in:
Szabolcs Dezsi
2012-04-06 14:09:04 +02:00
committed by Luboš Luňák
parent 8e5318b0b9
commit e4fb171d3a
94 changed files with 286 additions and 375 deletions

View File

@@ -94,7 +94,7 @@ lcl_hasVbaEvents( const Sequence< ScriptEventDescriptor >& sEvents )
const ScriptEventDescriptor* pEnd = ( pDesc + sEvents.getLength() );
for ( ; pDesc != pEnd; ++pDesc )
{
if ( pDesc->ScriptType.equals( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VBAInterop") ) ) )
if ( pDesc->ScriptType == "VBAInterop" )
return true;
}
return false;
@@ -110,7 +110,7 @@ lcl_stripVbaEvents( const Sequence< ScriptEventDescriptor >& sEvents )
sal_Int32 nCopied = 0;
for ( ; pDesc != pEnd; ++pDesc )
{
if ( !pDesc->ScriptType.equals( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VBAInterop") ) ) )
if ( pDesc->ScriptType != "VBAInterop" )
{
sStripped[ nCopied++ ] = *pDesc;
}