diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-08-06 16:30:39 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2019-08-06 17:39:00 +0200 |
commit | 0a7cb98f2fd36be5928b6beb73cd514c9040d87e (patch) | |
tree | f873801fbb0e95d45c6d57f3cb88ef5a628e0e08 /sc | |
parent | fe44699a244a91f28e8fc43278fff67bf1db7c9c (diff) |
Select shape even when clicking on a hyperlink
and the hyperlink isn't being opened anyway (no ctrl clicked e.g.)
Change-Id: I262a32b0f295ed66339c0a12a551f68d9d63c978
Reviewed-on: https://gerrit.libreoffice.org/77032
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/drawfunc/fusel.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx index a29abd774958..f3e9af4dac8c 100644 --- a/sc/source/ui/drawfunc/fusel.cxx +++ b/sc/source/ui/drawfunc/fusel.cxx @@ -218,7 +218,7 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) } // open hyperlink, if found at object or in object's text - if ( !sURL.isEmpty() ) + if ( !sURL.isEmpty() && ScGlobal::ShouldOpenURL() ) { ScGlobal::OpenURL( sURL, sTarget ); rViewShell.FakeButtonUp( rViewShell.GetViewData().GetActivePart() ); |