diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-12-14 16:00:44 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-12-14 16:00:44 +0000 |
commit | bb5a3b2a5916a4698b53d738a0548d00c2947076 (patch) | |
tree | 2e25758a341ed8fa91c1f3eb3a2611ccdc75885d /sd/source/ui/func/fuoaprms.cxx | |
parent | bbe756a38fa12d2f6132427c3cac1c50fad2053e (diff) |
INTEGRATION: CWS impressfunctions (1.10.38); FILE MERGED
2005/10/28 10:57:38 cl 1.10.38.1: #125341# reworked FuPoor classes to use refcounting
Diffstat (limited to 'sd/source/ui/func/fuoaprms.cxx')
-rw-r--r-- | sd/source/ui/func/fuoaprms.cxx | 52 |
1 files changed, 15 insertions, 37 deletions
diff --git a/sd/source/ui/func/fuoaprms.cxx b/sd/source/ui/func/fuoaprms.cxx index 4eff29da4151..7fef536ca50d 100644 --- a/sd/source/ui/func/fuoaprms.cxx +++ b/sd/source/ui/func/fuoaprms.cxx @@ -4,9 +4,9 @@ * * $RCSfile: fuoaprms.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: rt $ $Date: 2005-09-09 04:45:03 $ + * last change: $Author: rt $ $Date: 2005-12-14 17:00:44 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -112,8 +112,20 @@ FuObjectAnimationParameters::FuObjectAnimationParameters ( SfxRequest& rReq) : FuPoor(pViewSh, pWin, pView, pDoc, rReq) { +} + +FunctionReference FuObjectAnimationParameters::Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq ) +{ + FunctionReference xFunc( new FuObjectAnimationParameters( pViewSh, pWin, pView, pDoc, rReq ) ); + xFunc->DoExecute(rReq); + return xFunc; +} + +void FuObjectAnimationParameters::DoExecute( SfxRequest& rReq ) +{ + BOOL bOnMaster = pView->GetPageViewPvNum(0)->GetPage()->IsMasterPage(); - SfxUndoManager* pUndoMgr = pViewSh->GetViewFrame()->GetObjectShell()-> + SfxUndoManager* pUndoMgr = pViewShell->GetViewFrame()->GetObjectShell()-> GetUndoManager(); const SdrMarkList& rMarkList = pView->GetMarkedObjectList(); @@ -868,38 +880,4 @@ FuObjectAnimationParameters::FuObjectAnimationParameters ( // sieht man nicht, also muss an den Bindings nicht invalidiert werden } -/************************************************************************* -|* -|* Destruktor -|* -\************************************************************************/ - -FuObjectAnimationParameters::~FuObjectAnimationParameters() -{ -} - -/************************************************************************* -|* -|* Function aktivieren -|* -\************************************************************************/ - -void FuObjectAnimationParameters::Activate() -{ - FuPoor::Activate(); - -} - -/************************************************************************* -|* -|* Function deaktivieren -|* -\************************************************************************/ - -void FuObjectAnimationParameters::Deactivate() -{ - FuPoor::Deactivate(); -} - - } // end of namespace sd |