Replaced a few equal calls with ==
This commit is contained in:
committed by
Luboš Luňák
parent
8e5318b0b9
commit
e4fb171d3a
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user