summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fulink.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-12-14 16:00:58 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-12-14 16:00:58 +0000
commitde4a2b2d5e57f94398e3612371e849e7e00e0fc8 (patch)
tree9c9ea77cb3a7e9449e5535dbb077ac7febfb8400 /sd/source/ui/func/fulink.cxx
parentbb5a3b2a5916a4698b53d738a0548d00c2947076 (diff)
INTEGRATION: CWS impressfunctions (1.6.40); FILE MERGED
2005/10/28 10:57:38 cl 1.6.40.1: #125341# reworked FuPoor classes to use refcounting
Diffstat (limited to 'sd/source/ui/func/fulink.cxx')
-rw-r--r--sd/source/ui/func/fulink.cxx15
1 files changed, 13 insertions, 2 deletions
diff --git a/sd/source/ui/func/fulink.cxx b/sd/source/ui/func/fulink.cxx
index 43a6406eb686..4005f4ad2ab1 100644
--- a/sd/source/ui/func/fulink.cxx
+++ b/sd/source/ui/func/fulink.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: fulink.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-09 04:44:23 $
+ * last change: $Author: rt $ $Date: 2005-12-14 17:00:04 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -77,6 +77,17 @@ FuLink::FuLink (
SfxRequest& rReq )
: FuPoor(pViewSh, pWin, pView, pDoc, rReq)
{
+}
+
+FunctionReference FuLink::Create( ViewShell* pViewSh, ::sd::Window* pWin, ::sd::View* pView, SdDrawDocument* pDoc, SfxRequest& rReq )
+{
+ FunctionReference xFunc( new FuLink( pViewSh, pWin, pView, pDoc, rReq ) );
+ xFunc->DoExecute(rReq);
+ return xFunc;
+}
+
+void FuLink::DoExecute( SfxRequest& rReq )
+{
SvxLinkManager* pLinkManager = pDoc->GetLinkManager();
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();