summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/kde4/KDESalInstance.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/unx/kde4/KDESalInstance.cxx b/vcl/unx/kde4/KDESalInstance.cxx
index 56f3df9465cb..3db356b06abe 100644
--- a/vcl/unx/kde4/KDESalInstance.cxx
+++ b/vcl/unx/kde4/KDESalInstance.cxx
@@ -49,8 +49,7 @@ uno::Reference< ui::dialogs::XFilePicker2 > KDESalInstance::createFilePicker(
{
KDEXLib* kdeXLib = static_cast<KDEXLib*>( mpXLib );
if (kdeXLib->allowKdeDialogs())
- return uno::Reference< ui::dialogs::XFilePicker2 >(
- kdeXLib->createFilePicker(xMSF) );
+ return kdeXLib->createFilePicker(xMSF);
else
return X11SalInstance::createFilePicker( xMSF );
}