From 0030909eafbbf9987d921a61453af4b49fec1909 Mon Sep 17 00:00:00 2001 From: Szymon Kłos Date: Thu, 28 Nov 2019 10:19:39 +0100 Subject: jsdialogs; send graphic updates in Calc and Impress MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ia69fe214b6961a8f0387e6fc8f97a75687f5ed93 Reviewed-on: https://gerrit.libreoffice.org/83969 Tested-by: Jenkins Reviewed-by: Szymon Kłos --- svx/source/tbxctrls/grafctrl.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'svx') diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx index a3095c8409c8..20bdf962839b 100644 --- a/svx/source/tbxctrls/grafctrl.cxx +++ b/svx/source/tbxctrls/grafctrl.cxx @@ -61,6 +61,9 @@ #include +#include +#include + using namespace ::com::sun::star::uno; using namespace ::com::sun::star::frame; using namespace ::com::sun::star::util; @@ -1031,6 +1034,10 @@ void SvxGrafAttrHelper::GetGrafAttrState( SfxItemSet& rSet, SdrView const & rVie nWhich = aIter.NextWhich(); } + + SfxViewShell* pViewShell = SfxViewShell::Current(); + if (pViewShell && comphelper::LibreOfficeKit::isActive()) + pViewShell->sendUnoStatus( &rSet ); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit