summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuconarc.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-12-14 15:55:29 +0000
committerRüdiger Timm <rt@openoffice.org>2005-12-14 15:55:29 +0000
commitf0deff052ef87690154a50c8ea792aea9c454e3b (patch)
tree476ad29fcf6f78aa505ff123e21fa76ba847783c /sd/source/ui/func/fuconarc.cxx
parent98c2ddf375ab2993715c588b24a400116fae151e (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/fuconarc.cxx')
-rw-r--r--sd/source/ui/func/fuconarc.cxx29
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
|*
\************************************************************************/