sc/source/ui/drawfunc/fusel.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0a7cb98f2fd36be5928b6beb73cd514c9040d87e Author: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> AuthorDate: Tue Aug 6 16:30:39 2019 +0200 Commit: Samuel Mehrbrodt <samuel.mehrbr...@cib.de> CommitDate: Tue Aug 6 17:39:00 2019 +0200 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.mehrbr...@cib.de> 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() ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits