summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-08-17 23:37:08 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-08-26 10:42:28 +0200
commitdbe125fce5d226641bf84ac3be12ea88c41f6d91 (patch)
tree8daa0f72207747c9f7f6fd96d2b31da8d4c4a326 /sfx2
parentae975b3ddab520906ead4314cef1752be999ad6f (diff)
tdf#150489: Drop Elements docking window
and make uno:ElementsDockingWindow open the respective sidebar panel. Change-Id: I9736d6804c579b83404636d5e327c49c2fdeb914 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138458 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/SidebarChildWindow.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/sidebar/SidebarChildWindow.cxx b/sfx2/source/sidebar/SidebarChildWindow.cxx
index 04d1f1037f4b..272c280488c8 100644
--- a/sfx2/source/sidebar/SidebarChildWindow.cxx
+++ b/sfx2/source/sidebar/SidebarChildWindow.cxx
@@ -43,7 +43,7 @@ SidebarChildWindow::SidebarChildWindow(vcl::Window* pParentWindow, sal_uInt16 nI
pDockWin->SetOutputSizePixel(Size(GetDefaultWidth(pDockWin), 450));
if (pInfo && pInfo->aExtraString.isEmpty() && pInfo->aModule != "sdraw"
- && pInfo->aModule != "simpress")
+ && pInfo->aModule != "simpress" && pInfo->aModule != "smath")
{
// When this is the first start (never had the sidebar open yet),
// default to non-expanded sidebars in Writer and Calc.