diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-11-20 15:13:11 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-11-20 15:13:11 +0000 |
commit | 0de3b2634cdf52371b8b7bbe74368cf5fa61bff9 (patch) | |
tree | ac3af113505f477a4d231e764a092e64f6e34d03 /svx/source/svxlink | |
parent | aaa1f41c6735f4e2d4da401a0ec2c8e85f5935e0 (diff) |
CWS-TOOLING: integrate CWS buildid301_DEV300
Diffstat (limited to 'svx/source/svxlink')
-rw-r--r-- | svx/source/svxlink/linkmgr.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/svxlink/linkmgr.cxx b/svx/source/svxlink/linkmgr.cxx index 3cdb9eb9eb..5d96e0cfc4 100644 --- a/svx/source/svxlink/linkmgr.cxx +++ b/svx/source/svxlink/linkmgr.cxx @@ -351,6 +351,7 @@ BOOL SvxInternalLink::Connect( sfx2::SvBaseLink* pLink ) SfxStringItem aTarget( SID_TARGETNAME, String::CreateFromAscii("_blank") ); SfxStringItem aReferer( SID_REFERER, sReferer ); SfxUInt16Item aUpdate( SID_UPDATEDOCMODE, nUpdateMode ); + SfxBoolItem aReadOnly(SID_DOC_READONLY, TRUE); // #i14200# (DDE-link crashes wordprocessor) SfxAllItemSet aArgs( SFX_APP()->GetPool() ); @@ -360,6 +361,7 @@ BOOL SvxInternalLink::Connect( sfx2::SvBaseLink* pLink ) aArgs.Put(aMinimized); aArgs.Put(aName); aArgs.Put(aUpdate); + aArgs.Put(aReadOnly); pFndShell = SfxObjectShell::CreateAndLoadObject( aArgs ); } } |