[Libreoffice-commits] core.git: sfx2/source

Jan Holesovsky kendy at collabora.com
Fri Apr 17 05:07:59 PDT 2015


 sfx2/source/sidebar/SidebarChildWindow.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0bdfe0f946042cdd59468d96a756f28db7cac7fe
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Fri Apr 17 14:02:22 2015 +0200

    draw sidebar: With the recent Jay's fixes, default to expanded sidebar too.
    
    Change-Id: I5a05b116fbaac553adf7a87f88cf4bab19df39f0

diff --git a/sfx2/source/sidebar/SidebarChildWindow.cxx b/sfx2/source/sidebar/SidebarChildWindow.cxx
index 22d71d3..4d4730d 100644
--- a/sfx2/source/sidebar/SidebarChildWindow.cxx
+++ b/sfx2/source/sidebar/SidebarChildWindow.cxx
@@ -50,10 +50,10 @@ SidebarChildWindow::SidebarChildWindow (
     SfxDockingWindow* pDockingParent = dynamic_cast<SfxDockingWindow*>(pWindow);
     if (pDockingParent != NULL)
     {
-        if (pInfo && pInfo->aExtraString.isEmpty() && pInfo->aModule != "simpress")
+        if (pInfo && pInfo->aExtraString.isEmpty() && pInfo->aModule != "sdraw" && pInfo->aModule != "simpress")
         {
             // When this is the first start (never had the sidebar open yet),
-            // default to non-expanded sidebars in Writer, Calc, and Draw
+            // default to non-expanded sidebars in Writer and Calc.
             //
             // HACK: unfortunately I haven't found a clean solution to do
             // this, so do it this way:


More information about the Libreoffice-commits mailing list