diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-05-12 09:18:25 +0200 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2021-07-27 09:43:08 +0200 |
commit | 457649d02f23446ed2d28433a5aedecf6a49aed7 (patch) | |
tree | ecd027e9b395de18aabaa7a8ceafc2938c117d41 /sfx2/source/sidebar/DeckLayouter.cxx | |
parent | b17180a84cb4561b8a7bbf9e2281c91fffd56f87 (diff) |
jsdialog: sidebar: send sidebar Panels
Change-Id: Ia5a936c44e5d83fd4626098bcc027b0382523231
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116098
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119511
Tested-by: Jenkins
Diffstat (limited to 'sfx2/source/sidebar/DeckLayouter.cxx')
-rw-r--r-- | sfx2/source/sidebar/DeckLayouter.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/DeckLayouter.cxx b/sfx2/source/sidebar/DeckLayouter.cxx index c60549e5d65e..54f100cd71a8 100644 --- a/sfx2/source/sidebar/DeckLayouter.cxx +++ b/sfx2/source/sidebar/DeckLayouter.cxx @@ -25,6 +25,7 @@ #include <sfx2/sidebar/Theme.hxx> #include <sfx2/sidebar/SidebarDockingWindow.hxx> #include <sfx2/sidebar/SidebarController.hxx> +#include <sfx2/viewsh.hxx> #include <comphelper/lok.hxx> #include <comphelper/processfactory.hxx> @@ -35,6 +36,8 @@ #include <com/sun/star/frame/XFrame.hpp> #include <com/sun/star/ui/XSidebarPanel.hpp> +#include <vcl/jsdialog/executor.hxx> + using namespace css; using namespace css::uno; @@ -303,6 +306,9 @@ sal_Int32 PlacePanels ( } } + if (comphelper::LibreOfficeKit::isActive()) + jsdialog::SendFullUpdate(reinterpret_cast<sal_uInt64>(SfxViewShell::Current()), "Panel"); + return nY; } |