diff options
author | jp <jp@openoffice.org> | 2000-09-26 12:19:07 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2000-09-26 12:19:07 +0000 |
commit | 8fe2a2e71954bb0b983cb911d43d7fef45969d1f (patch) | |
tree | ad0ef6300dfe1f5c8babf67f84f5036e4223b73e /svx | |
parent | 83b2a580cf1a5ded537c16c5f68167cee6cc6f5d (diff) |
SFXDISPATHER removed
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svxlink/linkmgr.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/svxlink/linkmgr.cxx b/svx/source/svxlink/linkmgr.cxx index 88ef3c17ff8e..173612d7b301 100644 --- a/svx/source/svxlink/linkmgr.cxx +++ b/svx/source/svxlink/linkmgr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: linkmgr.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jp $ $Date: 2000-09-26 12:08:24 $ + * last change: $Author: jp $ $Date: 2000-09-26 13:19:07 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -391,11 +391,11 @@ BOOL SvxInternalLink::Connect( SvBaseLink& rLink ) SfxStringItem aReferer( SID_REFERER, sReferer ); SfxBoolItem aSilent(SID_SILENT, TRUE); - const SfxPoolItem* pRet = SFX_APP()->GetDispatcher().Execute( - SID_OPENDOC, SFX_CALLMODE_SYNCHRON, - &aName, &aNewView, - &aViewStat,&aRectItem/*aHidden*/, - &aSilent, &aReferer, 0L ); + const SfxPoolItem* pRet = SfxViewFrame::Current()->GetDispatcher()-> + Execute( SID_OPENDOC, SFX_CALLMODE_SYNCHRON, + &aName, &aNewView, + &aViewStat,&aRectItem/*aHidden*/, + &aSilent, &aReferer, 0L ); SfxObjectShell* pShell; if( pRet && pRet->ISA( SfxViewFrameItem ) && |