From ce2003a672c410e9cd47bb6580688eee57165d7c Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Thu, 28 Jul 2022 15:18:15 +0200 Subject: svx: manipulate SdrObject::m_aOutRect indirectly MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0d8a8e4df06595250c07a61181fbd76fe1da5662 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137571 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- include/svx/svdobj.hxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/svx') diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx index 2e350c49b0f4..daf6cde70319 100644 --- a/include/svx/svdobj.hxx +++ b/include/svx/svdobj.hxx @@ -885,7 +885,13 @@ public: void ForceMetricToItemPoolMetric(basegfx::B2DPolyPolygon& rPolyPolygon) const noexcept; protected: - mutable tools::Rectangle m_aOutRect; // surrounding rectangle for Paint (incl. LineWidth, ...) + tools::Rectangle getOutRectangle() const; + void setOutRectangleConst(tools::Rectangle const& rRectangle) const; // need to do something about this + void setOutRectangle(tools::Rectangle const& rRectangle); + void resetOutRectangle(); + void moveOutRectangle(sal_Int32 nXDelta, sal_Int32 nYDelta); + + mutable tools::Rectangle m_aOutRect; // surrounding rectangle for Paint (incl. LineWidth, ...) Point m_aAnchor; // anchor position (Writer) SdrObjUserCall* m_pUserCall; std::unique_ptr -- cgit