[Libreoffice-commits] core.git: cui/source
Noel (via logerrit)
logerrit at kemper.freedesktop.org
Wed Feb 17 08:13:26 UTC 2021
cui/source/dialogs/cuigaldlg.cxx | 2 +-
cui/source/options/optjava.cxx | 4 ++--
cui/source/options/optpath.cxx | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit fbad0809aee60df4a3cae8f6f2a11f2bd6446b87
Author: Noel <noel.grandin at collabora.co.uk>
AuthorDate: Wed Feb 17 08:47:20 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Feb 17 09:12:42 2021 +0100
loplugin:referencecasting in cui
Change-Id: Id73971bdd986101eeb53bf0b140ef6a7c72191a9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111025
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx
index aa2ccd0767c1..186a63096d65 100644
--- a/cui/source/dialogs/cuigaldlg.cxx
+++ b/cui/source/dialogs/cuigaldlg.cxx
@@ -825,7 +825,7 @@ IMPL_LINK_NOARG(TPGalleryThemeProperties, ClickSearchHdl, weld::Button&, void)
css::uno::Reference< XAsynchronousExecutableDialog > xAsyncDlg( xFolderPicker, UNO_QUERY );
if ( xAsyncDlg.is() )
- xAsyncDlg->startExecuteModal( xDialogListener.get() );
+ xAsyncDlg->startExecuteModal( xDialogListener );
else
{
if( xFolderPicker->execute() == RET_OK )
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index e6af34320fe7..81bb4e30450a 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -161,7 +161,7 @@ IMPL_LINK_NOARG(SvxJavaOptionsPage, AddHdl_Impl, weld::Button&, void)
Reference< XAsynchronousExecutableDialog > xAsyncDlg( xFolderPicker, UNO_QUERY );
if ( xAsyncDlg.is() )
- xAsyncDlg->startExecuteModal( xDialogListener.get() );
+ xAsyncDlg->startExecuteModal( xDialogListener );
else if ( xFolderPicker.is() && xFolderPicker->execute() == ExecutableDialogResults::OK )
AddFolder( xFolderPicker->getDirectory() );
}
@@ -261,7 +261,7 @@ IMPL_LINK_NOARG(SvxJavaOptionsPage, StartFolderPickerHdl, void*, void)
{
Reference< XAsynchronousExecutableDialog > xAsyncDlg( xFolderPicker, UNO_QUERY );
if ( xAsyncDlg.is() )
- xAsyncDlg->startExecuteModal( xDialogListener.get() );
+ xAsyncDlg->startExecuteModal( xDialogListener );
else if ( xFolderPicker.is() && xFolderPicker->execute() == ExecutableDialogResults::OK )
AddFolder( xFolderPicker->getDirectory() );
}
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index 77432e0b7764..e1f638faa673 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -547,7 +547,7 @@ IMPL_LINK_NOARG(SvxPathTabPage, PathHdl_Impl, weld::Button&, void)
Reference< XAsynchronousExecutableDialog > xAsyncDlg( xFolderPicker, UNO_QUERY );
if ( xAsyncDlg.is() )
- xAsyncDlg->startExecuteModal( xDialogListener.get() );
+ xAsyncDlg->startExecuteModal( xDialogListener );
else
{
short nRet = xFolderPicker->execute();
More information about the Libreoffice-commits
mailing list