summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2005-12-14 16:00:32 +0000
committerRüdiger Timm <rt@openoffice.org>2005-12-14 16:00:32 +0000
commitbbe756a38fa12d2f6132427c3cac1c50fad2053e (patch)
treedf8ba70e4b071d14201f2decd4c870ebc4929889 /sd
parent4a1e7293d1c5110ec5ab7fcfb527b8d167adaba9 (diff)
INTEGRATION: CWS impressfunctions (1.11.26); FILE MERGED
2005/10/28 10:57:38 cl 1.11.26.1: #125341# reworked FuPoor classes to use refcounting
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/func/fumorph.cxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/sd/source/ui/func/fumorph.cxx b/sd/source/ui/func/fumorph.cxx
index 9b80af82d056..3b0b1e247274 100644
--- a/sd/source/ui/func/fumorph.cxx
+++ b/sd/source/ui/func/fumorph.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: fumorph.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: hr $ $Date: 2005-09-27 12:24:10 $
+ * last change: $Author: rt $ $Date: 2005-12-14 17:00:32 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -100,6 +100,17 @@ FuMorph::FuMorph (
SfxRequest& rReq )
: FuPoor(pViewSh, pWin, pView, pDoc, rReq)
{
+}
+
+FunctionReference FuMorph::Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq )
+{
+ FunctionReference xFunc( new FuMorph( pViewSh, pWin, pView, pDoc, rReq ) );
+ xFunc->DoExecute(rReq);
+ return xFunc;
+}
+
+void FuMorph::DoExecute( SfxRequest& rReq )
+{
const SdrMarkList& rMarkList = pView->GetMarkedObjectList();
if(rMarkList.GetMarkCount() == 2)