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

New commits:
commit f1a780cb6b7b860856de7ce2d8735432523c9e73
Author:     Méven Car <meven....@collabora.com>
AuthorDate: Thu Feb 8 17:43:25 2024 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Wed Feb 21 11:01:05 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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>
    (cherry picked from commit f8f89de7a49db563b870dbaada6f010f2f75254f)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163619
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index a5d45f322603..f103654f04a9 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