sd/source/ui/func/fusel.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit b30872826442ba1058d793dbef1533eda55fdfbf Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Aug 22 10:16:27 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Aug 22 16:09:28 2022 +0200
cid#1509233 Explicit null dereferenced Change-Id: Ib48bc9fd9600115f00674eed385f9e2cdc80eafd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138676 Tested-by: Caolán McNamara <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sd/source/ui/func/fusel.cxx b/sd/source/ui/func/fusel.cxx index a525f3bfce89..ed7efc851414 100644 --- a/sd/source/ui/func/fusel.cxx +++ b/sd/source/ui/func/fusel.cxx @@ -273,6 +273,9 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt) { mpWindow->ReleaseMouse(); + if (!aVEvt.mpURLField) + return true; + // If tiled rendering, let client handles URL execution and early returns. if (comphelper::LibreOfficeKit::isActive()) {