diff options
author | Pranam Lashkari <plashkari628@gmail.com> | 2020-06-20 23:34:04 +0530 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-06-21 16:28:51 +0200 |
commit | abe2a662cde10bb6d9308a85c60ab0b185183d41 (patch) | |
tree | 01d74f5950f2474ea61237c772b212916329e9f2 /sd/source/ui/view/drviews2.cxx | |
parent | 3870dd43e94c440a5094a57c47d3b7565658d73c (diff) |
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@collabora.com>
Diffstat (limited to 'sd/source/ui/view/drviews2.cxx')
-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 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()); |