equalsAsciiL faster than equalsAscii

This commit is contained in:
Caolán McNamara
2011-01-16 21:29:14 +00:00
parent cb3411386b
commit 3e0cce71cd

View File

@@ -922,7 +922,7 @@ uno::Sequence<rtl::OUString> SAL_CALL SalGtkFilePicker::getSelectedFiles() throw
}
while( nTokenIndex >= 0 );
if( !bExtensionTypedIn && ( !sToken.equalsAscii( "*" ) ) )
if( !bExtensionTypedIn && ( !sToken.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("*")) ) )
{
//if the filename does not already have the auto extension, stick it on
OUString sExtension = OUString(RTL_CONSTASCII_USTRINGPARAM( "." )) + sToken;