svx/source/tbxctrls/grafctrl.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit 00b473531b65aa5c10ea84aaedd05a35e6e50b25
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Thu Nov 28 10:19:39 2019 +0100
Commit:     Szymon Kłos <szymon.k...@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 <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@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: */
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to