diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2023-09-08 21:22:48 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2023-10-09 14:32:32 +0200 |
commit | 0918d476c0bbe526cabb159523f35e4ab0bea2f2 (patch) | |
tree | a9355a03d531185ab42b14de4cecd9e16b32530c /cui/source/dialogs/iconcdlg.cxx | |
parent | 4e1aec7937c0ccd9aa3c5c34091e94786f16e145 (diff) |
Hyperlink dialog: hide some buttons in LOK
Change-Id: I55a4ca5921b44a7c091a3742a85f2c9da5a188a1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156760
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Attila Szűcs <attila.szucs@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157672
Tested-by: Jenkins
Diffstat (limited to 'cui/source/dialogs/iconcdlg.cxx')
-rw-r--r-- | cui/source/dialogs/iconcdlg.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cui/source/dialogs/iconcdlg.cxx b/cui/source/dialogs/iconcdlg.cxx index 4aacf0e2b50e..9bda9d215dcf 100644 --- a/cui/source/dialogs/iconcdlg.cxx +++ b/cui/source/dialogs/iconcdlg.cxx @@ -18,6 +18,7 @@ */ #include <iconcdlg.hxx> +#include <comphelper/lok.hxx> #include <cuihyperdlg.hxx> #include <cassert> @@ -151,7 +152,8 @@ void SvxHpLinkDlg::ActivatePageImpl() // tdf#90496 - remember last used view in hyperlink dialog msRememberedPageId = msCurrentPageId; - m_xResetBtn->show(); + if (!comphelper::LibreOfficeKit::isActive()) + m_xResetBtn->show(); } void SvxHpLinkDlg::DeActivatePageImpl () |