sfx2/source/dialog/dinfdlg.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit f8f89de7a49db563b870dbaada6f010f2f75254f
Author:     Méven Car <[email protected]>
AuthorDate: Thu Feb 8 17:43:25 2024 +0100
Commit:     Szymon Kłos <[email protected]>
CommitDate: Tue Feb 20 11:05:04 2024 +0100

    Allow Document properties tab custom properties for LOK
    
    Change-Id: I4860f9bad69b3db0eef7b0e98159ca2b336b4f60
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163611
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Szymon Kłos <[email protected]>

diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 26f34882ec42..fc8754e5f12a 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -1324,10 +1324,7 @@ 
SfxDocumentInfoDialog::SfxDocumentInfoDialog(weld::Window* pParent, const SfxIte
     AddTabPage("general", SfxDocumentPage::Create, nullptr);
     AddTabPage("description", SfxDocumentDescPage::Create, nullptr);
 
-    if (!comphelper::LibreOfficeKit::isActive())
-        AddTabPage("customprops", SfxCustomPropertiesPage::Create, nullptr);
-    else
-        RemoveTabPage("customprops");
+    AddTabPage("customprops", SfxCustomPropertiesPage::Create, nullptr);
 
     if (rInfoItem.isCmisDocument())
         AddTabPage("cmisprops", SfxCmisPropertiesPage::Create, nullptr);

Reply via email to