summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorSzymon Kłos <szymon.klos@collabora.com>2019-11-28 10:19:39 +0100
committerSzymon Kłos <szymon.klos@collabora.com>2019-11-28 11:06:16 +0100
commit00b473531b65aa5c10ea84aaedd05a35e6e50b25 (patch)
treefcf3675545669f33149259e8d6bf2806ca41d469 /svx
parenta1f1e5545dfcf73c8fcf286a9a1e14c0321e8330 (diff)
jsdialogs; send graphic updates in Calc and Impress
Change-Id: Ia69fe214b6961a8f0387e6fc8f97a75687f5ed93 Reviewed-on: https://gerrit.libreoffice.org/83968 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/grafctrl.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx
index 36ac6e4c0e5c..ced4d4c2bc32 100644
--- a/svx/source/tbxctrls/grafctrl.cxx
+++ b/svx/source/tbxctrls/grafctrl.cxx
@@ -53,6 +53,9 @@
#include <svx/tbxcolor.hxx>
#include <bitmaps.hlst>
+#include <comphelper/lok.hxx>
+#include <LibreOfficeKit/LibreOfficeKitEnums.h>
+
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::frame;
using namespace ::com::sun::star::util;
@@ -1010,6 +1013,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: */