diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/dinfdlg.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index 86d39b6cf4cf..2b49b18bfc3b 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -1128,6 +1128,8 @@ SfxDocumentInfoDialog::SfxDocumentInfoDialog(weld::Window* pParent, const SfxIte AddTabPage("description", SfxDocumentDescPage::Create, nullptr); AddTabPage("customprops", SfxCustomPropertiesPage::Create, nullptr); AddTabPage("cmisprops", SfxCmisPropertiesPage::Create, nullptr); + if (!rInfoItem.isCmisDocument()) + m_xTabCtrl->get_page("cmisprops")->hide(); AddTabPage("security", SfxSecurityPage::Create, nullptr); } @@ -2248,6 +2250,7 @@ SfxCmisPropertiesPage::SfxCmisPropertiesPage(TabPageParent pParent, const SfxIte : SfxTabPage(pParent, "sfx/ui/cmisinfopage.ui", "CmisInfoPage", &rItemSet) , m_xPropertiesCtrl(new CmisPropertiesControl(*m_xBuilder)) { + } void SfxCmisPropertiesPage::dispose() |