summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2023-04-07 19:03:55 +0200
committerAndras Timar <andras.timar@collabora.com>2023-04-23 16:29:23 +0200
commit80c423520baa94cd3546e02cb383946a7d448ce9 (patch)
tree7dd26454ea6e04f41494c79f8b4dc04239a44bc1
parentMake encodeForXml accessible for other modules (diff)
downloadcore-80c423520baa94cd3546e02cb383946a7d448ce9.tar.gz
core-80c423520baa94cd3546e02cb383946a7d448ce9.zip
lok: Hide file linking in section
this is followup for 6f56317 Change-Id: I87227b3e665a6d15378ee294556bcd2f95801e6b
-rw-r--r--sw/source/ui/dialog/uiregionsw.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/sw/source/ui/dialog/uiregionsw.cxx b/sw/source/ui/dialog/uiregionsw.cxx
index 94ed8bf40a8e..bcc821a9973b 100644
--- a/sw/source/ui/dialog/uiregionsw.cxx
+++ b/sw/source/ui/dialog/uiregionsw.cxx
@@ -397,6 +397,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::Toggleable* pBox)