sd/source/ui/func/fusel.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit a34196d91c241f2545c50bf28c41580ec8c52507
Author: Szymon Kłos <szymon.k...@collabora.com>
Date:   Wed Nov 29 14:10:13 2017 +0100

    tdf#76646 don't open link on Ctrl-click if not required
    
    Change-Id: Ie081f8144e50f576b9f8acb2ddd5b1c891533964
    Reviewed-on: https://gerrit.libreoffice.org/45499
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/45555
    Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de>
    Tested-by: Thorsten Behrens <thorsten.behr...@cib.de>

diff --git a/sd/source/ui/func/fusel.cxx b/sd/source/ui/func/fusel.cxx
index 425a4d9c857d..fa5fa58349bc 100644
--- a/sd/source/ui/func/fusel.cxx
+++ b/sd/source/ui/func/fusel.cxx
@@ -274,6 +274,8 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt)
                 SvtSecurityOptions aSecOpt;
                 if (!rMEvt.IsMod1() && 
aSecOpt.IsOptionSet(SvtSecurityOptions::E_CTRLCLICK_HYPERLINK))
                     return true;
+                if (rMEvt.IsMod1() && 
!aSecOpt.IsOptionSet(SvtSecurityOptions::E_CTRLCLICK_HYPERLINK))
+                    return true;
 
                 SfxStringItem aStrItem(SID_FILE_NAME, 
aVEvt.pURLField->GetURL());
                 SfxStringItem aReferer(SID_REFERER, 
mpDocSh->GetMedium()->GetName());
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to