summaryrefslogtreecommitdiff
path: root/fpicker
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
commit3e0cce71cd2c272b4003d343ced40cdcea27d982 (patch)
treeabb5f5d119ab03d31d2cc689e7cef9b1468c06da /fpicker
parentcb3411386b57c27c3be4e4dbf63c8820429b2df1 (diff)
equalsAsciiL faster than equalsAscii
Diffstat (limited to 'fpicker')
-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 4d62698dd148..6f88dcf5e414 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;