diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-25 16:11:34 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-26 12:44:44 +0200 |
commit | db04585533cc0f5971f6238c18ae7cadcf31d930 (patch) | |
tree | 0bf7c00a3baa1dadf3c836d13a4cc6d3b315e4e7 /basegfx/source | |
parent | 018687837648dfe1832ddabbd4cda183708d7fdc (diff) |
loplugin:constmethod in basegfx,sot
Change-Id: I05d2cdefb7faf489ec29ba28dc5e3c28d08b9780
Reviewed-on: https://gerrit.libreoffice.org/43863
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx/source')
-rw-r--r-- | basegfx/source/polygon/b2dtrapezoid.cxx | 2 | ||||
-rw-r--r-- | basegfx/source/range/b2drangeclipper.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/basegfx/source/polygon/b2dtrapezoid.cxx b/basegfx/source/polygon/b2dtrapezoid.cxx index 3e3c1c9d6b8c..76f4700c2b79 100644 --- a/basegfx/source/polygon/b2dtrapezoid.cxx +++ b/basegfx/source/polygon/b2dtrapezoid.cxx @@ -167,7 +167,7 @@ namespace basegfx } // method for cut support - B2DPoint getCutPointForGivenY(double fGivenY) + B2DPoint getCutPointForGivenY(double fGivenY) const { // Calculate cut point locally (do not use interpolate) since it is numerically // necessary to guarantee the new, equal Y-coordinate diff --git a/basegfx/source/range/b2drangeclipper.cxx b/basegfx/source/range/b2drangeclipper.cxx index e38a9132ec80..639d3886e40a 100644 --- a/basegfx/source/range/b2drangeclipper.cxx +++ b/basegfx/source/range/b2drangeclipper.cxx @@ -339,7 +339,7 @@ namespace basegfx private: void handleInitialOwnEdge(SweepLineEvent const & rEvent, - ActiveEdge& rActiveEdge) + ActiveEdge& rActiveEdge) const { const bool isActiveEdgeProceedLeft( rActiveEdge.getEdgeDirection() == ActiveEdge::PROCEED_LEFT); |