summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-08 14:10:53 +0200
committerNoel Grandin <noel@peralex.com>2016-03-09 10:07:45 +0200
commitff745fc0d973b8d793c3ec21f258ebe695ce3ee2 (patch)
tree79a77c34041c5c9f93aea7c10bce5bfb5ec55d98 /chart2
parentc09b3e32372537be739182b02ae83a96386d1e1c (diff)
loplugin:constantparam in svx
Change-Id: Ib2a432fc334898c75ab5e5cf629a21fd310bd467
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/main/ShapeController.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/controller/main/ShapeController.cxx b/chart2/source/controller/main/ShapeController.cxx
index fd0fd480b05d..6e71b3066dea 100644
--- a/chart2/source/controller/main/ShapeController.cxx
+++ b/chart2/source/controller/main/ShapeController.cxx
@@ -439,7 +439,7 @@ void ShapeController::executeDispatch_ObjectTitleDescription()
if ( pFact )
{
std::unique_ptr< AbstractSvxObjectTitleDescDialog > pDlg(
- pFact->CreateSvxObjectTitleDescDialog( nullptr, aTitle, aDescription ) );
+ pFact->CreateSvxObjectTitleDescDialog( aTitle, aDescription ) );
if ( pDlg.get() && ( pDlg->Execute() == RET_OK ) )
{
pDlg->GetTitle( aTitle );
@@ -469,7 +469,7 @@ void ShapeController::executeDispatch_RenameObject()
if ( pFact )
{
std::unique_ptr< AbstractSvxObjectNameDialog > pDlg(
- pFact->CreateSvxObjectNameDialog( nullptr, aName ) );
+ pFact->CreateSvxObjectNameDialog( aName ) );
pDlg->SetCheckNameHdl( LINK( this, ShapeController, CheckNameHdl ) );
if ( pDlg.get() && ( pDlg->Execute() == RET_OK ) )
{