From ff745fc0d973b8d793c3ec21f258ebe695ce3ee2 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 8 Mar 2016 14:10:53 +0200 Subject: loplugin:constantparam in svx Change-Id: Ib2a432fc334898c75ab5e5cf629a21fd310bd467 --- sd/source/ui/table/tablefunction.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/source/ui/table/tablefunction.cxx') diff --git a/sd/source/ui/table/tablefunction.cxx b/sd/source/ui/table/tablefunction.cxx index 7535798d3b7d..4d20312cc5c1 100644 --- a/sd/source/ui/table/tablefunction.cxx +++ b/sd/source/ui/table/tablefunction.cxx @@ -127,7 +127,7 @@ void DrawViewShell::FuTable(SfxRequest& rReq) if( (nColumns == 0) || (nRows == 0) ) { SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); - std::unique_ptr pDlg( pFact ? pFact->CreateSvxNewTableDialog( nullptr ) : nullptr); + std::unique_ptr pDlg( pFact ? pFact->CreateSvxNewTableDialog() : nullptr); if( !pDlg.get() || (pDlg->Execute() != RET_OK) ) break; -- cgit