diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2015-11-01 09:05:58 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-01 15:26:10 +0000 |
commit | 0e6544903bc572d1d6051cbb89a4cfb727401159 (patch) | |
tree | 5090895789c763971457ef11fc8de55aed77d019 /fpicker | |
parent | b5db48ada113206ac090e4a08f2ae211859103ed (diff) |
no need to be so verbose in constructing uno::Reference
Change-Id: I187a26e200e9ecaff2adaf53a2ba3f6e87346030
Reviewed-on: https://gerrit.libreoffice.org/19724
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/win32/filepicker/workbench/Test_fps.cxx | 4 |
1 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 98b737cb243f..a33f7ccad3ca 100644 --- a/fpicker/source/win32/filepicker/workbench/Test_fps.cxx +++ b/fpicker/source/win32/filepicker/workbench/Test_fps.cxx @@ -258,9 +258,9 @@ int SAL_CALL main(int nArgc, char* Argv[], char* Env[] ) Sequence< Any > arguments(1); - arguments[0] = makeAny( FILEOPEN_READONLY_VERSION ); + arguments[0] = makeAny( FILEOPEN_READONLY_VERSION ); - Reference< XFilePicker > xFilePicker = Reference< XFilePicker >( + Reference< XFilePicker > xFilePicker( g_xFactory->createInstanceWithArguments( FILE_PICKER_SERVICE_NAME, arguments ), UNO_QUERY ); |