diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-10-31 15:13:58 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-01 15:25:43 +0000 |
commit | b5db48ada113206ac090e4a08f2ae211859103ed (patch) | |
tree | 5ca14a8e4209f18845476546953683b6adc860ab /fpicker/source/win32 | |
parent | 9da44ea99fe2fb4455b5e02ee8b178f22584254a (diff) |
no need to use OUString constructor in call to createInstance
Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296
Reviewed-on: https://gerrit.libreoffice.org/19704
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'fpicker/source/win32')
-rw-r--r-- | fpicker/source/win32/filepicker/workbench/Test_fps.cxx | 2 | ||||
-rw-r--r-- | fpicker/source/win32/folderpicker/workbench/Test_fops.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/win32/filepicker/workbench/Test_fps.cxx b/fpicker/source/win32/filepicker/workbench/Test_fps.cxx index a2ba8fe9cdbd..98b737cb243f 100644 --- a/fpicker/source/win32/filepicker/workbench/Test_fps.cxx +++ b/fpicker/source/win32/filepicker/workbench/Test_fps.cxx @@ -262,7 +262,7 @@ int SAL_CALL main(int nArgc, char* Argv[], char* Env[] ) Reference< XFilePicker > xFilePicker = Reference< XFilePicker >( g_xFactory->createInstanceWithArguments( - OUString( FILE_PICKER_SERVICE_NAME ), arguments ), UNO_QUERY ); + FILE_PICKER_SERVICE_NAME, arguments ), UNO_QUERY ); // install a FilePicker notifier Reference< XFilePickerListener > xFPListener( diff --git a/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx b/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx index 84097f0ec9ac..7c4a54e6386c 100644 --- a/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx +++ b/fpicker/source/win32/folderpicker/workbench/Test_fops.cxx @@ -94,7 +94,7 @@ int SAL_CALL main(int /*nArgc*/, char* /*Argv[]*/, char* /*Env[]*/ ) Reference< XFolderPicker2 > xFolderPicker; xFolderPicker = Reference< XFolderPicker2 >( - g_xFactory->createInstance( OUString( FOLDER_PICKER_SERVICE_NAME ) ), UNO_QUERY ); + g_xFactory->createInstance( FOLDER_PICKER_SERVICE_NAME), UNO_QUERY ); if ( xFolderPicker.is() == sal_False ) { |