summaryrefslogtreecommitdiff
path: root/svtools/source/uno/fpicker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/uno/fpicker.cxx')
-rw-r--r--svtools/source/uno/fpicker.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/uno/fpicker.cxx b/svtools/source/uno/fpicker.cxx
index 6b5848ec628a..f1cff13f2242 100644
--- a/svtools/source/uno/fpicker.cxx
+++ b/svtools/source/uno/fpicker.cxx
@@ -66,7 +66,7 @@ Reference< css::uno::XInterface > FilePicker_CreateInstance (
Reference< css::lang::XMultiComponentFactory > xFactory (context->getServiceManager());
if (xFactory.is() && SvtMiscOptions().UseSystemFileDialog())
{
- xResult = Reference< css::uno::XInterface >( Application::createFilePicker( context ) );
+ xResult.set( Application::createFilePicker( context ) );
if (!xResult.is())
{
@@ -139,7 +139,7 @@ Reference< css::uno::XInterface > FolderPicker_CreateInstance (
Reference< css::lang::XMultiComponentFactory > xFactory (context->getServiceManager());
if (xFactory.is() && SvtMiscOptions().UseSystemFileDialog())
{
- xResult = Reference< css::uno::XInterface >( Application::createFolderPicker( context ) );
+ xResult.set( Application::createFolderPicker( context ) );
if (!xResult.is())
{
try