[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - svx/source
Szymon Kłos (via logerrit)
logerrit at kemper.freedesktop.org
Thu Nov 28 10:06:59 UTC 2019
svx/source/tbxctrls/grafctrl.cxx | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 00b473531b65aa5c10ea84aaedd05a35e6e50b25
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Thu Nov 28 10:19:39 2019 +0100
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Thu Nov 28 11:06:16 2019 +0100
jsdialogs; send graphic updates in Calc and Impress
Change-Id: Ia69fe214b6961a8f0387e6fc8f97a75687f5ed93
Reviewed-on: https://gerrit.libreoffice.org/83968
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
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: */
More information about the Libreoffice-commits
mailing list