compareToAscii -> equalsAscii
convert places using compareToAscii that should be using equalsAscii Change-Id: I97b4da7f6e867c3967b2f65b70d6886f83b4a4e5
This commit is contained in:
@@ -57,7 +57,7 @@ namespace ooo
|
||||
const SfxMedium *pMedium = rDocShell.GetMedium();
|
||||
const SfxFilter *pFilt = pMedium ? pMedium->GetFilter() : NULL;
|
||||
if ( pFilt && pFilt->IsAlienFormat() )
|
||||
bRes = ( pFilt->GetMimeType().compareToAscii( pMimeType ) == 0 );
|
||||
bRes = pFilt->GetMimeType().equalsAscii( pMimeType );
|
||||
return bRes;
|
||||
}
|
||||
VBAHELPER_DLLPRIVATE inline bool isAlienExcelDoc( SfxObjectShell& rDocShell ) { return isAlienDoc( rDocShell, "application/vnd.ms-excel" ); }
|
||||
|
Reference in New Issue
Block a user