diff options
author | Vladimir Glazunov <vg@openoffice.org> | 2011-01-28 11:59:17 +0100 |
---|---|---|
committer | Vladimir Glazunov <vg@openoffice.org> | 2011-01-28 11:59:17 +0100 |
commit | ccf2a49428345eff761a00d19b24d6ee187d8d7e (patch) | |
tree | 1998b7be0d9ae4081aca671d6b15292f2ea15714 /sd/source/ui/animations | |
parent | fa27b2da2f8e7bd9bafb4a057318ac22577727dd (diff) | |
parent | b0879ce503220f8c67f5452d413574b18ad66776 (diff) |
CWS-TOOLING: integrate CWS undoapi
Diffstat (limited to 'sd/source/ui/animations')
-rwxr-xr-x | sd/source/ui/animations/CustomAnimationPane.cxx | 4 | ||||
-rwxr-xr-x | sd/source/ui/animations/SlideTransitionPane.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx index 9cdbc2f0cfba..2d70316c1432 100755 --- a/sd/source/ui/animations/CustomAnimationPane.cxx +++ b/sd/source/ui/animations/CustomAnimationPane.cxx @@ -289,7 +289,7 @@ CustomAnimationPane::~CustomAnimationPane() void CustomAnimationPane::addUndo() { - SfxUndoManager* pManager = mrBase.GetDocShell()->GetUndoManager(); + ::svl::IUndoManager* pManager = mrBase.GetDocShell()->GetUndoManager(); if( pManager ) { SdPage* pPage = SdPage::getImplementation( mxCurrentPage ); @@ -2461,7 +2461,7 @@ void CustomAnimationPane::updatePathFromMotionPathTag( const rtl::Reference< Mot CustomAnimationEffectPtr pEffect = xTag->getEffect(); if( (pPathObj != 0) && pEffect.get() != 0 ) { - SfxUndoManager* pManager = mrBase.GetDocShell()->GetUndoManager(); + ::svl::IUndoManager* pManager = mrBase.GetDocShell()->GetUndoManager(); if( pManager ) { SdPage* pPage = SdPage::getImplementation( mxCurrentPage ); diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx index fe34f0138db2..88b30ab658e3 100755 --- a/sd/source/ui/animations/SlideTransitionPane.cxx +++ b/sd/source/ui/animations/SlideTransitionPane.cxx @@ -265,9 +265,9 @@ void lcl_CreateUndoForPages( const ::sd::slidesorter::SharedPageSelection& rpPages, ::sd::ViewShellBase& rBase ) { - ::sd::DrawDocShell* pDocSh = rBase.GetDocShell(); - SfxUndoManager* pManager = pDocSh->GetUndoManager(); - SdDrawDocument* pDoc = pDocSh->GetDoc(); + ::sd::DrawDocShell* pDocSh = rBase.GetDocShell(); + ::svl::IUndoManager* pManager = pDocSh->GetUndoManager(); + SdDrawDocument* pDoc = pDocSh->GetDoc(); if( pManager && pDocSh && pDoc ) { String aComment( SdResId(STR_UNDO_SLIDE_PARAMS) ); |