officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu |    2 +-
 sc/source/ui/view/tabvwsha.cxx                               |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 29e66e84270285886d8ec3062e2d35e810f24704
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Tue Mar 11 08:48:07 2025 +0100
Commit:     Szymon Kłos <szymon.k...@collabora.com>
CommitDate: Wed Mar 12 10:40:22 2025 +0100

    lok: style panel shortcut icon command fix
    
    This reverts commit 90a63a2325e45b435762570ac9aecd50fcb5b676.
    lok: use .uno:SidebarDeck.StyleListDeck as shortcut
    
    it caused regresison in Writer where we should still open the
    Style Edit dialog. Only Calc should open style list.
    
    Change-Id: Ia8844330e8f91ef56864ae78b18d5ce57a146c58
    Signed-off-by: Szymon Kłos <szymon.k...@collabora.com>
    (cherry picked from commit 0f57885a3cf63af68bf07b14c5296e14ef0ad4c4)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182807
    Tested-by: Jenkins

diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu 
b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
index 4c553d040711..f9a0e6ad7ffe 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/Sidebar.xcu
@@ -435,7 +435,7 @@
           <value>PropertyDeck</value>
         </prop>
         <prop oor:name="DefaultMenuCommand">
-          <value>.uno:SidebarDeck.StyleListDeck</value>
+          <value>.uno:EditStyle</value>
         </prop>
         <prop oor:name="ContextList">
           <value oor:separator=";">
diff --git a/sc/source/ui/view/tabvwsha.cxx b/sc/source/ui/view/tabvwsha.cxx
index bca95efa1494..d756d5f22acc 100644
--- a/sc/source/ui/view/tabvwsha.cxx
+++ b/sc/source/ui/view/tabvwsha.cxx
@@ -938,7 +938,7 @@ void ScTabViewShell::ExecStyle( SfxRequest& rReq )
     const sal_uInt16  nSlotId = rReq.GetSlot();
     if ( !pArgs && nSlotId != SID_STYLE_NEW_BY_EXAMPLE && nSlotId != 
SID_STYLE_UPDATE_BY_EXAMPLE )
     {
-        // in case of vertical toolbar
+        // in case of vertical toolbar, sidebar shortcut icon
         GetDispatcher()->Execute( SID_STYLE_DESIGNER, SfxCallMode::ASYNCHRON | 
SfxCallMode::RECORD );
         return;
     }

Reply via email to