sc/source/ui/view/tabvwsh3.cxx             |    3 +--
 sc/uiconfig/scalc/ui/notebookbar_online.ui |   23 -----------------------
 solenv/sanitizers/ui/modules/scalc.suppr   |    1 -
 3 files changed, 1 insertion(+), 26 deletions(-)

New commits:
commit ba7a08d05e2f7f2fc190d5f432bdb58e3d4f86f1
Author:     Szymon Kłos <[email protected]>
AuthorDate: Tue Feb 17 11:55:15 2026 +0100
Commit:     Szymon Kłos <[email protected]>
CommitDate: Wed Feb 18 08:25:22 2026 +0100

    Revert "sc: Add a Notebookbar widget for theme colors in Calc"
    
    This reverts commit 0f297867a13d2c9b7b28c16ed92ce67b38297cea.
    
    Reason for revert: It was done by mistake. It should go to 26.04 branch.
    
    Change-Id: I4b2cfce5e2a90ee83f25ab3c1c19cb541968bbed
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199536
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Szymon Kłos <[email protected]>

diff --git a/sc/source/ui/view/tabvwsh3.cxx b/sc/source/ui/view/tabvwsh3.cxx
index 1c7eb2cffe3d..d1682ec6ddaf 100644
--- a/sc/source/ui/view/tabvwsh3.cxx
+++ b/sc/source/ui/view/tabvwsh3.cxx
@@ -1613,7 +1613,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq )
             // Open ThemeColorEditDialog to create/edit the new color set
             auto pSubDialog = 
std::make_shared<svx::ThemeColorEditDialog>(GetFrameWeld(), *pCurrentColorSet);
 
-            weld::DialogController::runAsync(pSubDialog, [pSubDialog, 
this](sal_uInt32 nResult) {
+            weld::DialogController::runAsync(pSubDialog, 
[pSubDialog](sal_uInt32 nResult) {
                 if (nResult != RET_OK)
                     return;
 
@@ -1622,7 +1622,6 @@ void ScTabViewShell::Execute( SfxRequest& rReq )
                 {
                     // Add the new color set to the global collection with 
auto-rename if needed
                     svx::ColorSets::get().insert(aColorSet, 
svx::ColorSets::IdenticalNameAction::AutoRename);
-                    GetViewFrame().GetBindings().Invalidate(SID_ADD_THEME);
                 }
             });
 
diff --git a/sc/uiconfig/scalc/ui/notebookbar_online.ui 
b/sc/uiconfig/scalc/ui/notebookbar_online.ui
index 18d376ff6ac3..ccabe97190c4 100644
--- a/sc/uiconfig/scalc/ui/notebookbar_online.ui
+++ b/sc/uiconfig/scalc/ui/notebookbar_online.ui
@@ -146,29 +146,6 @@
             <property name="position">3</property>
           </packing>
         </child>
-        <child>
-          <object class="sfxlo-NotebookbarToolBox" id="theme_colors_pane">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
-            <property name="margin_start">5</property>
-            <child>
-              <object class="GtkToolButton" id="Theme-ThemeColorsPane">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="action_name">.uno:ThemeSelectorPanel</property>
-              </object>
-              <packing>
-                <property name="expand">False</property>
-                <property name="homogeneous">True</property>
-              </packing>
-            </child>
-          </object>
-          <packing>
-            <property name="expand">False</property>
-            <property name="fill">True</property>
-            <property name="position">4</property>
-          </packing>
-        </child>
       </object>
       <packing>
         <property name="left_attach">0</property>
diff --git a/solenv/sanitizers/ui/modules/scalc.suppr 
b/solenv/sanitizers/ui/modules/scalc.suppr
index 840f926378ed..bdc95e795200 100644
--- a/solenv/sanitizers/ui/modules/scalc.suppr
+++ b/solenv/sanitizers/ui/modules/scalc.suppr
@@ -68,7 +68,6 @@ 
sc/uiconfig/scalc/ui/notebookbar_groups.ui://GtkLabel[@id='formatgrouplabel'] or
 sc/uiconfig/scalc/ui/notebookbar_groups.ui://GtkLabel[@id='tablegrouplabel'] 
orphan-label
 sc/uiconfig/scalc/ui/notebookbar_groups.ui://GtkLabel[@id='insertgrouplabel'] 
orphan-label
 sc/uiconfig/scalc/ui/notebookbar_groups.ui://GtkLabel[@id='imagegrouplabel'] 
orphan-label
-sc/uiconfig/scalc/ui/notebookbar_online.ui://GtkToolButton[@id='Theme-ThemeColorsPane']
 button-no-label
 sc/uiconfig/scalc/ui/managenamesdialog.ui://GtkLabel[@id='info'] orphan-label
 sc/uiconfig/scalc/ui/managenamesdialog.ui://GtkLabel[@id='label2'] orphan-label
 sc/uiconfig/scalc/ui/mergecellsdialog.ui://GtkLabel[@id='label'] orphan-label

Reply via email to