diff options
Diffstat (limited to 'fpicker/source/win32/filepicker/workbench/Test_fps.cxx')
-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 ); |