summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-12 10:46:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-03-12 10:46:41 +0100
commit684035a93d17ddb92909c40766518b1d193eadc8 (patch)
treefe2ee1260772587d84b146ef23171687b2230521 /vcl/unx
parentfd67b40a91d36c9ea24facadf150efd7499e1f06 (diff)
loplugin:redundantfcast
Change-Id: I6d93a634d2cde982c764233dc28a9c5270593cc1
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 );
}