diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-25 09:53:33 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-25 10:06:26 +0100 |
commit | a0656ec6fc2b41e65f1b40dbd64f546175e2762f (patch) | |
tree | c0d3443a27d9dc10266760110e96b50cce46ef02 /fpicker/source/win32 | |
parent | e9c6fd6b4d09ee59b6a86942cbf001f2ba9782e6 (diff) |
const OUString -> const OUStringLiteral
Mostly automated rewrite
Change-Id: Ie020a083f898bc126b8fb039d4ecb2e687172da1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112965
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'fpicker/source/win32')
-rw-r--r-- | fpicker/source/win32/shared.hxx | 6 | ||||
-rw-r--r-- | fpicker/source/win32/workbench/Test_fps.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
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 |