diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 17:58:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-18 17:58:17 +0100 |
commit | 9de415945a608b8b90b648e04ad06bac2d53a9cd (patch) | |
tree | 1b0a3446e727a2190480b9f530767308ead38dd3 /vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx | |
parent | 11f20999040e97c052c0015e3265de2a68cee666 (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.cxx | 2 |
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 |