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>
diff --git a/svx/source/sdr/contact/viewobjectcontact.cxx b/svx/source/sdr/contact/viewobjectcontact.cxx
index f87e8dc..9dcac9e 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;