summaryrefslogtreecommitdiff
path: root/svx/source/engine3d
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:51:39 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:51:39 +0200
commita003d8c59d0324ab3f44ec608f473e654ce48902 (patch)
tree0c85a381b784f9dc24a6e74aa3448b7eb4739a8c /svx/source/engine3d
parent65fe84d273a4fe099cd03be088165672788cf32e (diff)
loplugin:defaultparams
Change-Id: I4e344e780baae6c9828d0d708dfb0a9390af533a
Diffstat (limited to 'svx/source/engine3d')
-rw-r--r--svx/source/engine3d/view3d.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx
index 8efce1078997..eb5d1a60dea5 100644
--- a/svx/source/engine3d/view3d.cxx
+++ b/svx/source/engine3d/view3d.cxx
@@ -674,7 +674,7 @@ void E3dView::ImpChangeSomeAttributesFor3DConversion(SdrObject* pObj)
// add undo now
if( GetModel()->IsUndoEnabled() )
- AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoAttrObject(*pObj, false));
+ AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoAttrObject(*pObj));
}
pObj->SetMergedItem(SvxColorItem(RGB_Color(COL_GRAY), EE_CHAR_COLOR));
@@ -697,7 +697,7 @@ void E3dView::ImpChangeSomeAttributesFor3DConversion2(SdrObject* pObj)
&& eFillStyle != drawing::FillStyle_NONE)
{
if(pObj->GetPage() && GetModel()->IsUndoEnabled() )
- AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoAttrObject(*pObj, false));
+ AddUndo(GetModel()->GetSdrUndoFactory().CreateUndoAttrObject(*pObj));
pObj->SetMergedItem(XLineStyleItem(drawing::LineStyle_NONE));
pObj->SetMergedItem(XLineWidthItem(0L));
}