diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2023-04-07 19:03:55 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2023-05-02 10:33:50 +0200 |
commit | c7fffb9ff3a0d0636d86bf68086d5ae3fd3f8ae6 (patch) | |
tree | 753bbe908619a9b3d92f7f066bccf82013702d5e /sw/source/ui | |
parent | 69e5b9a7d95a481aae23e651729cceb618abd00c (diff) |
lok: Hide file linking in section
this is followup for 6f56317
Change-Id: I87227b3e665a6d15378ee294556bcd2f95801e6b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151231
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/dialog/uiregionsw.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx index afe90adc6c21..37a7ab66fa9c 100644 --- a/sw/source/ui/dialog/uiregionsw.cxx +++ b/sw/source/ui/dialog/uiregionsw.cxx @@ -415,6 +415,19 @@ SwEditRegionDlg::SwEditRegionDlg(weld::Window* pParent, SwWrtShell& rWrtSh) m_xTree->show(); m_bDontCheckPasswd = false; + + if(comphelper::LibreOfficeKit::isActive()) + { + m_xBuilder->weld_label("label8")->hide(); // Link + m_xFileCB->hide(); + m_xDDECB->hide(); + m_xDDECommandFT->hide(); + m_xFileNameFT->hide(); + m_xFileNameED->hide(); + m_xFilePB->hide(); + m_xSubRegionFT->hide(); + m_xSubRegionED->hide(); + } } bool SwEditRegionDlg::CheckPasswd(weld::Toggleable* pBox) |