From 1a5423d3b04ba540229f8532d386cca637f5ce57 Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Fri, 7 Apr 2023 19:03:55 +0200 Subject: lok: Hide file linking in section this is followup for 6f56317 Change-Id: I87227b3e665a6d15378ee294556bcd2f95801e6b --- sw/source/ui/dialog/uiregionsw.cxx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx index 8480ba52b680..44ce60cd531f 100644 --- a/sw/source/ui/dialog/uiregionsw.cxx +++ b/sw/source/ui/dialog/uiregionsw.cxx @@ -402,6 +402,19 @@ SwEditRegionDlg::SwEditRegionDlg(weld::Window* pParent, SwWrtShell& rWrtSh) m_xTree->show(); 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::ToggleButton* pBox) -- cgit v1.2.3