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
commita0c656d14cf8bfc0b8545cc16d8d2ef82f310d33 (patch)
tree078f041fe9c14b3ce7679de5e43c02e434c5a011 /svx/source/toolbars
parent5c8b4d1b122125d6d0a57687d408a6b8d94747cb (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 fde4001f65..7a2679bc2a 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 );