diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-12-14 15:55:29 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-12-14 15:55:29 +0000 |
commit | f0deff052ef87690154a50c8ea792aea9c454e3b (patch) | |
tree | 476ad29fcf6f78aa505ff123e21fa76ba847783c /sd/source/ui/func | |
parent | 98c2ddf375ab2993715c588b24a400116fae151e (diff) |
INTEGRATION: CWS impressfunctions (1.10.38); FILE MERGED
2005/10/28 10:57:34 cl 1.10.38.1: #125341# reworked FuPoor classes to use refcounting
Diffstat (limited to 'sd/source/ui/func')
-rw-r--r-- | sd/source/ui/func/fuconarc.cxx | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/sd/source/ui/func/fuconarc.cxx b/sd/source/ui/func/fuconarc.cxx index 4903d4842542..2254588daecb 100644 --- a/sd/source/ui/func/fuconarc.cxx +++ b/sd/source/ui/func/fuconarc.cxx @@ -4,9 +4,9 @@ * * $RCSfile: fuconarc.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: rt $ $Date: 2005-09-09 04:35:47 $ + * last change: $Author: rt $ $Date: 2005-12-14 16:55:29 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -105,6 +105,21 @@ FuConstructArc::FuConstructArc ( SfxRequest& rReq ) : FuConstruct( pViewSh, pWin, pView, pDoc, rReq ) { +} + +FunctionReference FuConstructArc::Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq, bool bPermanent ) +{ + FuConstructArc* pFunc; + FunctionReference xFunc( pFunc = new FuConstructArc( pViewSh, pWin, pView, pDoc, rReq ) ); + xFunc->DoExecute(rReq); + pFunc->SetPermanent(bPermanent); + return xFunc; +} + +void FuConstructArc::DoExecute( SfxRequest& rReq ) +{ + FuConstruct::DoExecute( rReq ); + pViewShell->GetObjectBarManager().SwitchObjectBar (RID_DRAW_OBJ_TOOLBOX); const SfxItemSet *pArgs = rReq.GetArgs (); @@ -137,16 +152,6 @@ FuConstructArc::FuConstructArc ( /************************************************************************* |* -|* Destruktor -|* -\************************************************************************/ - -FuConstructArc::~FuConstructArc() -{ -} - -/************************************************************************* -|* |* MouseButtonDown-event |* \************************************************************************/ |