diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2005-12-14 16:00:19 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2005-12-14 16:00:19 +0000 |
commit | 4a1e7293d1c5110ec5ab7fcfb527b8d167adaba9 (patch) | |
tree | d6b8e3dcf594464982ef63cb5eb64f5a3ad38043 /sd/source/ui/func/fumeasur.cxx | |
parent | e0d0084f181a6354611300750698c24d44f713cc (diff) |
INTEGRATION: CWS impressfunctions (1.5.40); FILE MERGED
2005/10/28 10:57:38 cl 1.5.40.1: #125341# reworked FuPoor classes to use refcounting
Diffstat (limited to 'sd/source/ui/func/fumeasur.cxx')
-rw-r--r-- | sd/source/ui/func/fumeasur.cxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/sd/source/ui/func/fumeasur.cxx b/sd/source/ui/func/fumeasur.cxx index f1b483613f46..d108bea2add0 100644 --- a/sd/source/ui/func/fumeasur.cxx +++ b/sd/source/ui/func/fumeasur.cxx @@ -4,9 +4,9 @@ * * $RCSfile: fumeasur.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-09-09 04:44:37 $ + * last change: $Author: rt $ $Date: 2005-12-14 17:00:19 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -73,6 +73,17 @@ FuMeasureDlg::FuMeasureDlg ( SfxRequest& rReq) : FuPoor(pViewSh, pWin, pView, pDoc, rReq) { +} + +FunctionReference FuMeasureDlg::Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq ) +{ + FunctionReference xFunc( new FuMeasureDlg( pViewSh, pWin, pView, pDoc, rReq ) ); + xFunc->DoExecute(rReq); + return xFunc; +} + +void FuMeasureDlg::DoExecute( SfxRequest& rReq ) +{ SfxItemSet aNewAttr( pDoc->GetPool() ); pView->GetAttributes( aNewAttr ); |