sfx2/source/sidebar/SidebarController.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit fe99f56db39ab3bfd931ab0527965a841c81c212
Author:     Attila Szűcs <[email protected]>
AuthorDate: Wed Jan 21 13:18:37 2026 +0100
Commit:     Tomaž Vajngerl <[email protected]>
CommitDate: Tue Jan 27 08:40:58 2026 +0100

    Chart: font sidebar changed to experimental
    
    Chart styles is still experimental, so
    chart font sidebar changed experimental too.
    
    Change-Id: I3b8cec80e2ff21947a11dd9fb0de7f1672a95430
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/197745
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Tomaž Vajngerl <[email protected]>

diff --git a/sfx2/source/sidebar/SidebarController.cxx 
b/sfx2/source/sidebar/SidebarController.cxx
index dc998d9c7bf1..c237e3119878 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -62,6 +62,7 @@
 #include <com/sun/star/ui/theUIElementFactoryManager.hpp>
 #include <com/sun/star/util/URL.hpp>
 #include <com/sun/star/rendering/XSpriteCanvas.hpp>
+#include <officecfg/Office/Common.hxx>
 
 #include <bitmaps.hlst>
 
@@ -799,6 +800,12 @@ void SidebarController::CreatePanels(std::u16string_view 
rDeckId, const Context&
         }
         else
         {
+            // Allow ChartTextPropertyPanel only in experimental mode
+            if (!officecfg::Office::Common::Misc::ExperimentalMode::get()
+                && rPanelContexDescriptor.msId == u"ChartTextPropertyPanel")
+            {
+                continue;
+            }
             auto aPanel = CreatePanel(rPanelContexDescriptor.msId,
                                       pDeck->GetPanelParentWindow(),
                                       
rPanelContexDescriptor.mbIsInitiallyVisible,

Reply via email to