summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-04 14:00:40 +0200
committerNoel Grandin <noel@peralex.com>2013-11-11 11:21:26 +0200
commite52779d2f8722c713f72aedbf475267440d729f0 (patch)
tree0f2f15b2a7645e0b75f8057c96c90e05e1a6e7df /fpicker
parente9c4ee996d5a6bf895072613ac4e488346ee5b05 (diff)
remove unnecessary use of OUString constructor
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/filepicker/FilePicker.cxx4
-rw-r--r--fpicker/source/win32/filepicker/VistaFilePicker.cxx4
-rw-r--r--fpicker/source/win32/folderpicker/FolderPicker.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/fpicker/source/win32/filepicker/FilePicker.cxx b/fpicker/source/win32/filepicker/FilePicker.cxx
index 18a185844dc5..fa344ef5a19a 100644
--- a/fpicker/source/win32/filepicker/FilePicker.cxx
+++ b/fpicker/source/win32/filepicker/FilePicker.cxx
@@ -57,8 +57,8 @@ namespace
uno::Sequence<OUString> SAL_CALL FilePicker_getSupportedServiceNames()
{
uno::Sequence<OUString> aRet(2);
- aRet[0] = OUString("com.sun.star.ui.dialogs.FilePicker");
- aRet[1] = OUString("com.sun.star.ui.dialogs.SystemFilePicker");
+ aRet[0] = "com.sun.star.ui.dialogs.FilePicker";
+ aRet[1] = "com.sun.star.ui.dialogs.SystemFilePicker";
return aRet;
}
}
diff --git a/fpicker/source/win32/filepicker/VistaFilePicker.cxx b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
index 76f0658c345c..2909d7ad43a1 100644
--- a/fpicker/source/win32/filepicker/VistaFilePicker.cxx
+++ b/fpicker/source/win32/filepicker/VistaFilePicker.cxx
@@ -79,8 +79,8 @@ namespace
css::uno::Sequence< OUString > SAL_CALL VistaFilePicker_getSupportedServiceNames()
{
css::uno::Sequence< OUString > aRet(2);
- aRet[0] = OUString("com.sun.star.ui.dialogs.FilePicker");
- aRet[1] = OUString("com.sun.star.ui.dialogs.SystemFilePicker");
+ aRet[0] = "com.sun.star.ui.dialogs.FilePicker";
+ aRet[1] = "com.sun.star.ui.dialogs.SystemFilePicker";
return aRet;
}
}
diff --git a/fpicker/source/win32/folderpicker/FolderPicker.cxx b/fpicker/source/win32/folderpicker/FolderPicker.cxx
index bdf4d2294acb..7f963221d348 100644
--- a/fpicker/source/win32/folderpicker/FolderPicker.cxx
+++ b/fpicker/source/win32/folderpicker/FolderPicker.cxx
@@ -52,7 +52,7 @@ namespace
Sequence< OUString > SAL_CALL FolderPicker_getSupportedServiceNames()
{
Sequence< OUString > aRet(1);
- aRet[0] = OUString("com.sun.star.ui.dialogs.SystemFolderPicker");
+ aRet[0] = "com.sun.star.ui.dialogs.SystemFolderPicker";
return aRet;
}
}