summaryrefslogtreecommitdiff
path: root/sw/source/core/draw
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2011-02-09 19:07:37 +0100
committerMathias Bauer <mba@openoffice.org>2011-02-09 19:07:37 +0100
commit9bdf5d2d49574bb0f2bc1ed92704031ad5215ca5 (patch)
tree476b37474a366a845c3549c1cac919c735074025 /sw/source/core/draw
parent749c27fafbe1e57b7ba25f759272c02de20469e0 (diff)
CWS swlayoutrefactoring: fixes for compilation on unxlngxi after resync
Diffstat (limited to 'sw/source/core/draw')
-rw-r--r--sw/source/core/draw/dview.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/draw/dview.cxx b/sw/source/core/draw/dview.cxx
index db6c04ff54bd..f33ac9a8fd37 100644
--- a/sw/source/core/draw/dview.cxx
+++ b/sw/source/core/draw/dview.cxx
@@ -1087,7 +1087,7 @@ void SwDrawView::DeleteMarked()
SwRootFrm *pTmpRoot = pDoc->GetCurrentLayout();//swmod 080317
if ( pTmpRoot )
pTmpRoot->StartAllAction();
- pDoc->StartUndo(UNDO_EMPTY, NULL);
+ pDoc->GetIDocumentUndoRedo().StartUndo(UNDO_EMPTY, NULL);
// OD 18.06.2003 #108784# - replace marked <SwDrawVirtObj>-objects by its
// reference objects.
{
@@ -1106,7 +1106,7 @@ void SwDrawView::DeleteMarked()
FmFormView::DeleteMarked();
::FrameNotify( Imp().GetShell(), FLY_DRAG_END );
}
- pDoc->EndUndo(UNDO_EMPTY, NULL);
+ pDoc->GetIDocumentUndoRedo().EndUndo(UNDO_EMPTY, NULL);
if( pTmpRoot )
pTmpRoot->EndAllAction(); //swmod 080218
}