diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-28 10:01:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-28 13:47:28 +0200 |
commit | e75a545f2869a4406bb434c356d481745f000271 (patch) | |
tree | 5f7b64b1c21096a98c18c47e4df855a58572be8a /slideshow | |
parent | c1e31ee0433232104c73cfa56e24e056833213dc (diff) |
loplugin:constmethod in sdext..starmath
Change-Id: Ib1b60382c9ec62f35f0f232c3f2c2d5664ea669e
Reviewed-on: https://gerrit.libreoffice.org/79779
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/shapes/shapeimporter.cxx | 2 | ||||
-rw-r--r-- | slideshow/source/engine/slide/userpaintoverlay.cxx | 4 | ||||
-rw-r--r-- | slideshow/source/engine/slide/userpaintoverlay.hxx | 2 | ||||
-rw-r--r-- | slideshow/source/engine/slidebitmap.cxx | 2 | ||||
-rw-r--r-- | slideshow/source/inc/shapeimporter.hxx | 4 | ||||
-rw-r--r-- | slideshow/source/inc/slidebitmap.hxx | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/slideshow/source/engine/shapes/shapeimporter.cxx b/slideshow/source/engine/shapes/shapeimporter.cxx index 65b0414d2645..542308813d36 100644 --- a/slideshow/source/engine/shapes/shapeimporter.cxx +++ b/slideshow/source/engine/shapes/shapeimporter.cxx @@ -517,7 +517,7 @@ bool ShapeImporter::isImportDone() const return maShapesStack.empty(); } -const PolyPolygonVector& ShapeImporter::getPolygons() +const PolyPolygonVector& ShapeImporter::getPolygons() const { return maPolygons; } diff --git a/slideshow/source/engine/slide/userpaintoverlay.cxx b/slideshow/source/engine/slide/userpaintoverlay.cxx index 2382a50875c2..3ad95c1a6cdb 100644 --- a/slideshow/source/engine/slide/userpaintoverlay.cxx +++ b/slideshow/source/engine/slide/userpaintoverlay.cxx @@ -222,7 +222,7 @@ namespace slideshow } //Retrieve all registered polygons. - const PolyPolygonVector& getPolygons() + const PolyPolygonVector& getPolygons() const { return maPolygons; } @@ -462,7 +462,7 @@ namespace slideshow mrMultiplexer.addUserPaintHandler(mpHandler); } - PolyPolygonVector const & UserPaintOverlay::getPolygons() + PolyPolygonVector const & UserPaintOverlay::getPolygons() const { return mpHandler->getPolygons(); } diff --git a/slideshow/source/engine/slide/userpaintoverlay.hxx b/slideshow/source/engine/slide/userpaintoverlay.hxx index 3dc6fa976a7f..449b34174fa9 100644 --- a/slideshow/source/engine/slide/userpaintoverlay.hxx +++ b/slideshow/source/engine/slide/userpaintoverlay.hxx @@ -65,7 +65,7 @@ namespace slideshow ~UserPaintOverlay(); UserPaintOverlay(const UserPaintOverlay&) = delete; UserPaintOverlay& operator=(const UserPaintOverlay&) = delete; - PolyPolygonVector const & getPolygons(); + PolyPolygonVector const & getPolygons() const; void drawPolygons(); private: diff --git a/slideshow/source/engine/slidebitmap.cxx b/slideshow/source/engine/slidebitmap.cxx index 7acd82207748..9c52fccd2359 100644 --- a/slideshow/source/engine/slidebitmap.cxx +++ b/slideshow/source/engine/slidebitmap.cxx @@ -107,7 +107,7 @@ namespace slideshow maClipPoly = rClipPoly; } - const css::uno::Reference< css::rendering::XBitmap >& SlideBitmap::getXBitmap() + const css::uno::Reference< css::rendering::XBitmap >& SlideBitmap::getXBitmap() const { return mxBitmap; } diff --git a/slideshow/source/inc/shapeimporter.hxx b/slideshow/source/inc/shapeimporter.hxx index 584b40941f37..b29c0b079d0c 100644 --- a/slideshow/source/inc/shapeimporter.hxx +++ b/slideshow/source/inc/shapeimporter.hxx @@ -90,9 +90,9 @@ public: importShape() call. */ bool isImportDone() const; - const PolyPolygonVector& getPolygons(); + const PolyPolygonVector& getPolygons() const; - double getImportedShapesCount() { return mnAscendingPrio; } + double getImportedShapesCount() const{ return mnAscendingPrio; } private: bool isSkip( css::uno::Reference<css::beans::XPropertySet> const& xPropSet, OUString const& shapeType, diff --git a/slideshow/source/inc/slidebitmap.hxx b/slideshow/source/inc/slidebitmap.hxx index d311a6d1470c..f149138c4a7c 100644 --- a/slideshow/source/inc/slidebitmap.hxx +++ b/slideshow/source/inc/slidebitmap.hxx @@ -68,7 +68,7 @@ namespace slideshow void move( const ::basegfx::B2DPoint& rNewPos ); void clip( const ::basegfx::B2DPolyPolygon& rClipPoly ); - const css::uno::Reference< css::rendering::XBitmap >& getXBitmap(); + const css::uno::Reference< css::rendering::XBitmap >& getXBitmap() const; private: ::basegfx::B2DPoint maOutputPos; |