summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-16 21:29:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-16 21:29:14 +0000
commit5d1e49049453298e993a98d8aa61c35bb860acd6 (patch)
treeee707f86099717a9e4b0d8e7e1d22f530b890b30
parenta707fa7bc280d5431f0bbc37a354ca744a5b9bf3 (diff)
equalsAsciiL faster than equalsAscii
-rw-r--r--fpicker/source/unx/gnome/SalGtkFilePicker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
index 5698f4cb95..d08125e75f 100644
--- a/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
+++ b/fpicker/source/unx/gnome/SalGtkFilePicker.cxx
@@ -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;