summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 17:58:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 17:58:17 +0100
commit9de415945a608b8b90b648e04ad06bac2d53a9cd (patch)
tree1b0a3446e727a2190480b9f530767308ead38dd3 /vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
parent11f20999040e97c052c0015e3265de2a68cee666 (diff)
vcl: Use appropriate OUString functions on string constants
Change-Id: I169624820cd7d25eab18a6b90482e075ebfebcc6
Diffstat (limited to 'vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx')
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
index 967aa10d0d53..e2af3e5fb751 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
@@ -1808,7 +1808,7 @@ GtkFileFilter* SalGtkFilePicker::implAddFilter( const OUString& rFilter, const O
static const char aStarDot[] = "*.";
OUString aTokens;
- bool bAllGlob = rType.equalsAscii( "*.*" ) || rType.equalsAscii( "*" );
+ bool bAllGlob = rType == "*.*" || rType == "*";
if (bAllGlob)
gtk_file_filter_add_pattern( filter, "*" );
else