[Libreoffice-commits] core.git: sd/source

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Sun Jun 21 14:29:25 UTC 2020


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

New commits:
commit abe2a662cde10bb6d9308a85c60ab0b185183d41
Author:     Pranam Lashkari <plashkari628 at gmail.com>
AuthorDate: Sat Jun 20 23:34:04 2020 +0530
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Sun Jun 21 16:28:51 2020 +0200

    LOK: hyperlink were inserted as button instead of text object
    
    Change-Id: I393e5cb34d90fc6def6c62be9216df1acd9b5f4f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96778
    Tested-by: Jenkins
    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 58cd5e5297b2..c839b79e3fb9 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -38,6 +38,7 @@
 #include <comphelper/processfactory.hxx>
 #include <comphelper/propertysequence.hxx>
 #include <comphelper/scopeguard.hxx>
+#include <comphelper/lok.hxx>
 
 #include <editeng/contouritem.hxx>
 #include <editeng/editdata.hxx>
@@ -2263,7 +2264,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