From 1e49e33c26950b606714c0dafb26cbcb2aeb3877 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 12 Sep 2016 13:10:16 +0200 Subject: loplugin:constantparam in chart2..connectivity Change-Id: Ic9e1bd36a11c7148fa7595a2b6c6de9bd7a8653d Reviewed-on: https://gerrit.libreoffice.org/28834 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- cui/source/factory/dlgfact.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cui/source/factory') diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 94ca9e671fad..f748ab491e69 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -956,7 +956,7 @@ VclAbstractRefreshableDialog * AbstractDialogFactory_Impl::CreateActualizeProgre VclAbstractDialog* AbstractDialogFactory_Impl::CreateScriptErrorDialog(const css::uno::Any& rException) { - return new SvxScriptErrorDialog(nullptr, rException); + return new SvxScriptErrorDialog(rException); } AbstractScriptSelectorDialog* @@ -1506,7 +1506,7 @@ SvxAbstractSplittTableDialog* AbstractDialogFactory_Impl::CreateSvxSplittTableDi SvxAbstractNewTableDialog* AbstractDialogFactory_Impl::CreateSvxNewTableDialog() { - return new SvxNewTableDialog( nullptr ); + return new SvxNewTableDialog; } VclAbstractDialog* AbstractDialogFactory_Impl::CreateOptionsDialog( -- cgit