| commit | 170a473597534cf59887b1d817538322e7039862 | [log] |
|---|---|---|
| author | Markus Mohrhard <markus.mohrhard@googlemail.com> | Tue Apr 19 02:36:28 2016 +0200 |
| committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | Tue Apr 19 02:38:40 2016 +0200 |
| tree | cd3c2d93771b6a35a23687400bddad0dcf80be72 | |
| parent | a07d5aef3f251855a4856f1e59649194a07899e5 [diff] |
don't try to open in new window by default, tdf#70959 This fixes a regression from 99932fa89be0e041abf5ce5da3271600c841ff19 Change-Id: Idcee34c97173fb79503a560f5246230a9bfaeb51
diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx index e764bfe..e9df005 100644 --- a/sc/source/core/data/global.cxx +++ b/sc/source/core/data/global.cxx
@@ -901,7 +901,8 @@ void ScGlobal::OpenURL(const OUString& rURL, const OUString& rTarget, const SdrM } SfxStringItem aUrl( SID_FILE_NAME, rURL ); SfxStringItem aTarget( SID_TARGETNAME, rTarget ); aTarget.SetValue("_blank"); if ( nScClickMouseModifier & KEY_SHIFT ) // control-click -> into new window aTarget.SetValue("_blank"); SfxViewFrame* pFrame = nullptr; OUString aReferName; if ( pScActiveViewShell )