diff options
Diffstat (limited to 'svx/source/svdraw/svdglue.cxx')
-rw-r--r-- | svx/source/svdraw/svdglue.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdglue.cxx b/svx/source/svdraw/svdglue.cxx index 2f9d53028988..f9a6992a0ec7 100644 --- a/svx/source/svdraw/svdglue.cxx +++ b/svx/source/svdraw/svdglue.cxx @@ -23,6 +23,7 @@ #include <svx/svdglue.hxx> #include <svx/svdobj.hxx> #include <svx/svdtrans.hxx> +#include <comphelper/lok.hxx> static const Size aGlueHalfSize(4,4); @@ -253,6 +254,8 @@ void SdrGluePoint::Shear(const Point& rRef, double tn, bool bVShear, const SdrOb void SdrGluePoint::Invalidate(vcl::Window& rWin, const SdrObject* pObj) const { + if (comphelper::LibreOfficeKit::isActive()) + return; bool bMapMode=rWin.IsMapModeEnabled(); Point aPt(pObj!=nullptr ? GetAbsolutePos(*pObj) : GetPos()); aPt=rWin.LogicToPixel(aPt); @@ -329,6 +332,8 @@ sal_uInt16 SdrGluePointList::Insert(const SdrGluePoint& rGP) void SdrGluePointList::Invalidate(vcl::Window& rWin, const SdrObject* pObj) const { + if (comphelper::LibreOfficeKit::isActive()) + return; for (auto& xGP : aList) xGP->Invalidate(rWin,pObj); } |