summaryrefslogtreecommitdiff
path: root/cui/source/factory
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-09-12 13:10:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-14 06:40:30 +0000
commit1e49e33c26950b606714c0dafb26cbcb2aeb3877 (patch)
treee510fd3a5babf1712d136b866120bea4dd5b8f1a /cui/source/factory
parente1822c809b137859382139aace0c08be4547c157 (diff)
loplugin:constantparam in chart2..connectivity
Change-Id: Ic9e1bd36a11c7148fa7595a2b6c6de9bd7a8653d Reviewed-on: https://gerrit.libreoffice.org/28834 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/factory')
-rw-r--r--cui/source/factory/dlgfact.cxx4
1 files changed, 2 insertions, 2 deletions
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(