summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-12-09 11:12:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-12-09 18:00:10 +0100
commit681e10eecf67a1a01bdec2cc9b834e0345e25206 (patch)
treefb8ececc8b3703679533b4829dfe7939c5b65e4c /svx
parent5b2164973dd09df775d7bd4fe1d97d521059fa2b (diff)
tdf#146137 tdf#146132 image redrawing
regression from commit fe6a140a537eda1b6703c44ff5ee49d2ba875b81 Author: Noel Grandin <noel.grandin@collabora.co.uk> Date: Tue Dec 7 14:55:13 2021 +0200 used cache value in ViewObjectContact::getPrimitive2DSequence we need to blow away the cached data when the object changes Change-Id: I3be8d57b166b6f7e3a04bd8fc34c83eed5ff8857 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126573 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sdr/contact/viewobjectcontact.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/svx/source/sdr/contact/viewobjectcontact.cxx b/svx/source/sdr/contact/viewobjectcontact.cxx
index f87e8dcbef45..9dcac9eb153c 100644
--- a/svx/source/sdr/contact/viewobjectcontact.cxx
+++ b/svx/source/sdr/contact/viewobjectcontact.cxx
@@ -208,6 +208,9 @@ const basegfx::B2DRange& ViewObjectContact::getObjectRange() const
void ViewObjectContact::ActionChanged()
{
+ // clear cached primitives
+ mxPrimitive2DSequence.clear();
+
if(mbLazyInvalidate)
return;