diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-20 18:26:32 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-21 08:50:11 +0200 |
commit | f292f808a1ced65db45141772dbd6e45c5d151ea (patch) | |
tree | b1be7fb0f652f7474f729d4307ed1e09f50772d4 /vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx | |
parent | 7272951c121735a7350fa70840b255b7ef831f1a (diff) |
loplugin:referencecasting in vbahelper..vcl
Change-Id: I2bd9e2c4e8a3d56a7b2168bd2ccff389051e5b4c
Reviewed-on: https://gerrit.libreoffice.org/76032
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx')
-rw-r--r-- | vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx index 50fb9c0f4d08..ade5ff504539 100644 --- a/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx +++ b/vcl/unx/gtk/fpicker/SalGtkFolderPicker.cxx @@ -134,11 +134,10 @@ sal_Int16 SAL_CALL SalGtkFolderPicker::execute() sal_Int16 retVal = 0; - uno::Reference< awt::XExtendedToolkit > xToolkit( - awt::Toolkit::create(m_xContext), - uno::UNO_QUERY); + uno::Reference< awt::XExtendedToolkit > xToolkit = + awt::Toolkit::create(m_xContext); - uno::Reference<frame::XDesktop> xDesktop(frame::Desktop::create(m_xContext), uno::UNO_QUERY); + uno::Reference<frame::XDesktop> xDesktop = frame::Desktop::create(m_xContext); GtkWindow *pParent = RunDialog::GetTransientFor(); if (pParent) |