summaryrefslogtreecommitdiff
path: root/svx/source/toolbars
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-01-10 13:52:00 +0000
committerRüdiger Timm <rt@openoffice.org>2006-01-10 13:52:00 +0000
commit2e30fd2ddc738d8738cd2382f4a91dc0a71f7577 (patch)
treed9e71e687cba31e7c8d0a14d06bf0b8d1f8f6472 /svx/source/toolbars
parent4e40e8e955b677bc8c09ec6e78a474a61fb13113 (diff)
INTEGRATION: CWS impresspresobjs (1.10.140); FILE MERGED
2005/11/24 11:34:20 cl 1.10.140.1: #123595# use SdrUndoFactory for creating undo actions
Diffstat (limited to 'svx/source/toolbars')
-rw-r--r--svx/source/toolbars/extrusionbar.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/toolbars/extrusionbar.cxx b/svx/source/toolbars/extrusionbar.cxx
index 422dbd52acdc..19f4eddfaab9 100644
--- a/svx/source/toolbars/extrusionbar.cxx
+++ b/svx/source/toolbars/extrusionbar.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: extrusionbar.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 00:54:08 $
+ * last change: $Author: rt $ $Date: 2006-01-10 14:52:00 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -623,7 +623,7 @@ void ExtrusionBar::execute( SdrView* pSdrView, SfxRequest& rReq, SfxBindings& rB
{
String aStr( SVX_RES( nStrResId ) );
pSdrView->BegUndo( aStr );
- pSdrView->AddUndo( new SdrUndoAttrObj( *pObj ) );
+ pSdrView->AddUndo( pSdrView->GetModel()->GetSdrUndoFactory().CreateUndoAttrObject( *pObj ) );
SdrCustomShapeGeometryItem aGeometryItem( (SdrCustomShapeGeometryItem&)pObj->GetMergedItem( SDRATTR_CUSTOMSHAPE_GEOMETRY ) );
impl_execute( pSdrView, rReq, aGeometryItem, pObj );
pObj->SetMergedItem( aGeometryItem );