[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sd/source

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Thu Jun 18 21:21:13 UTC 2020


 sd/source/ui/view/drviews2.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 77f7b1ba3ccb8b43abde5ac873723909676b65a7
Author:     Pranam Lashkari <plashkari628 at gmail.com>
AuthorDate: Thu Jun 18 23:14:59 2020 +0530
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Thu Jun 18 23:20:38 2020 +0200

    LOK: hyperlink were inserted as button instead of text object
    
    Change-Id: I393e5cb34d90fc6def6c62be9216df1acd9b5f4f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96624
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 374ec6508342..2806de91bf46 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -36,6 +36,7 @@
 
 #include <comphelper/processfactory.hxx>
 #include <comphelper/scopeguard.hxx>
+#include <comphelper/lok.hxx>
 
 #include <editeng/editdata.hxx>
 #include <editeng/eeitem.hxx>
@@ -2232,7 +2233,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
                 {
                     OutlinerView* pOlView = mpDrawView->GetTextEditOutlinerView();
 
-                    if (pOlView)
+                    if (pOlView || comphelper::LibreOfficeKit::isActive())
                     {
                         InsertURLField(pHLItem->GetURL(), pHLItem->GetName(),
                                        pHLItem->GetTargetFrame());


More information about the Libreoffice-commits mailing list