diff options
author | Pranam Lashkari <plashkari628@gmail.com> | 2020-06-18 23:14:59 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-06-18 23:20:38 +0200 |
commit | 77f7b1ba3ccb8b43abde5ac873723909676b65a7 (patch) | |
tree | eec757eee49339a88b0e90cc53675014123f33af | |
parent | 32eb3a73843ef2eb46e88a71e8864f48fde05790 (diff) |
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@gmail.com>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r-- | sd/source/ui/view/drviews2.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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()); |