diff options
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/iodlg.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/win32/shared.hxx | 6 | ||||
-rw-r--r-- | fpicker/source/win32/workbench/Test_fps.cxx | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index fe199ae5a530..98c89e2b2e5e 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -235,7 +235,7 @@ namespace if ( xProviderProps.is() ) { Reference< XPropertySetInfo > xPropInfo = xProviderProps->getPropertySetInfo(); - const OUString sHomeDirPropertyName( "HomeDirectory" ); + static const OUStringLiteral sHomeDirPropertyName( u"HomeDirectory" ); if ( !xPropInfo.is() || xPropInfo->hasPropertyByName( sHomeDirPropertyName ) ) { OUString sHomeDirectory; diff --git a/fpicker/source/win32/shared.hxx b/fpicker/source/win32/shared.hxx index 4f822b742149..aa211a6057c1 100644 --- a/fpicker/source/win32/shared.hxx +++ b/fpicker/source/win32/shared.hxx @@ -21,9 +21,9 @@ #include <rtl/ustring.hxx> -const OUString BACKSLASH("\\"); -const OUString FILTER_SEPARATOR("------------------------------------------"); -const OUString ALL_FILES_WILDCARD("*.*"); +static const OUStringLiteral BACKSLASH(u"\\"); +static const OUStringLiteral FILTER_SEPARATOR(u"------------------------------------------"); +static const OUStringLiteral ALL_FILES_WILDCARD(u"*.*"); const bool ALLOW_DUPLICATES = true; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/fpicker/source/win32/workbench/Test_fps.cxx b/fpicker/source/win32/workbench/Test_fps.cxx index 62bc00550cca..899f208f1f61 100644 --- a/fpicker/source/win32/workbench/Test_fps.cxx +++ b/fpicker/source/win32/workbench/Test_fps.cxx @@ -78,7 +78,7 @@ void TestFilterManager( Reference< XFilePicker > xFilePicker ); Reference< XMultiServiceFactory > g_xFactory; -const OUString BMP_EXTENSION( "bmp" ); +static const OUStringLiteral BMP_EXTENSION( u"bmp" ); // a test client |