summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-01-10 13:51:49 +0000
committerRüdiger Timm <rt@openoffice.org>2006-01-10 13:51:49 +0000
commit4e40e8e955b677bc8c09ec6e78a474a61fb13113 (patch)
treebb3e60fce9987cf74eef9f732981d56c5d340cc6 /svx
parent9976dcd4fbd48e79e56f404d62fdbc382215186c (diff)
INTEGRATION: CWS impresspresobjs (1.29.138); FILE MERGED
2005/11/28 17:42:47 cl 1.29.138.2: RESYNC: (1.29-1.30); FILE MERGED 2005/11/24 11:49:48 cl 1.29.138.1: #123595# use SdrUndoFactory for creating undo actions
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/grafctrl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx
index 259ad18aa050..362fa7e93d3c 100644
--- a/svx/source/tbxctrls/grafctrl.cxx
+++ b/svx/source/tbxctrls/grafctrl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: grafctrl.cxx,v $
*
- * $Revision: 1.30 $
+ * $Revision: 1.31 $
*
- * last change: $Author: rt $ $Date: 2005-11-11 11:03:56 $
+ * last change: $Author: rt $ $Date: 2006-01-10 14:51:49 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -1097,7 +1097,7 @@ void SvxGrafAttrHelper::ExecuteGrafAttr( SfxRequest& rReq, SdrView& rView )
else
{
rView.BegUndo( aUndoStr );
- rView.AddUndo( new SdrUndoGeoObj( *pObj ) );
+ rView.AddUndo( rView.GetModel()->GetSdrUndoFactory().CreateUndoGeoObject( *pObj ) );
pObj->SetSnapRect( aNewRect );
rView.SetAttributes( aSet );
rView.EndUndo();