diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2022-03-04 21:34:21 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-03-05 11:59:04 +0100 |
commit | 6f652725fcbb068b8b482a74ef021396d4d0f133 (patch) | |
tree | 84369988b3669459be1f0d834ec87b5f69682a7a /include | |
parent | 0d2b5efdea72ba640169ba7dc9e6c1b87be1d68b (diff) |
make some svx methods const
Change-Id: If04a160c46b8dbf641ca9d115d1560f17e87ce4d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131043
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/sdr/table/tablecontroller.hxx | 2 | ||||
-rw-r--r-- | include/svx/svddrgmt.hxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/sdr/table/tablecontroller.hxx b/include/svx/sdr/table/tablecontroller.hxx index 997cea48b69a..ab9f1d28f0c6 100644 --- a/include/svx/sdr/table/tablecontroller.hxx +++ b/include/svx/sdr/table/tablecontroller.hxx @@ -152,7 +152,7 @@ private: SVX_DLLPRIVATE const CellPos& getSelectionStart(); SVX_DLLPRIVATE void setSelectionStart( const CellPos& rPos ); SVX_DLLPRIVATE const CellPos& getSelectionEnd(); - SVX_DLLPRIVATE void checkCell( CellPos& rPos ); + SVX_DLLPRIVATE void checkCell( CellPos& rPos ) const; SVX_DLLPRIVATE void MergeRange( sal_Int32 nFirstCol, sal_Int32 nFirstRow, sal_Int32 nLastCol, sal_Int32 nLastRow ); diff --git a/include/svx/svddrgmt.hxx b/include/svx/svddrgmt.hxx index bb2ee6188b7c..fe71ad5d60cd 100644 --- a/include/svx/svddrgmt.hxx +++ b/include/svx/svddrgmt.hxx @@ -206,7 +206,7 @@ public: const sdr::contact::ObjectContact& rObjectContact); void destroyOverlayGeometry(); - virtual basegfx::B2DHomMatrix getCurrentTransformation(); + virtual basegfx::B2DHomMatrix getCurrentTransformation() const; virtual void applyCurrentTransformationToSdrObject(SdrObject& rTarget); virtual void applyCurrentTransformationToPolyPolygon(basegfx::B2DPolyPolygon& rTarget); @@ -247,7 +247,7 @@ public: virtual bool EndSdrDrag(bool bCopy) override; virtual PointerStyle GetSdrDragPointer() const override; - virtual basegfx::B2DHomMatrix getCurrentTransformation() override; + virtual basegfx::B2DHomMatrix getCurrentTransformation() const override; virtual void applyCurrentTransformationToSdrObject(SdrObject& rTarget) override; }; @@ -269,7 +269,7 @@ public: virtual bool EndSdrDrag(bool bCopy) override; virtual PointerStyle GetSdrDragPointer() const override; - virtual basegfx::B2DHomMatrix getCurrentTransformation() override; + virtual basegfx::B2DHomMatrix getCurrentTransformation() const override; virtual void applyCurrentTransformationToSdrObject(SdrObject& rTarget) override; }; |