diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-06 11:17:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-06 12:57:25 +0200 |
commit | 22d94ce0abef7cdd5e344a28e1b1ee4caf6cd8f8 (patch) | |
tree | 0e54d0721723336daf26493f85e7be8f07431286 /basegfx | |
parent | d34e969c888219bd3739fc4a8ef330c77f7e7adf (diff) |
loplugin:const* make some params and methods const
Change-Id: If7fbb25037343e18081a8ee7064840d75e9a45a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104010
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basegfx')
-rw-r--r-- | basegfx/source/polygon/b2dpolygontools.cxx | 4 | ||||
-rw-r--r-- | basegfx/source/polygon/b3dpolygontools.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx index 720fb7a10e23..12401ac9756a 100644 --- a/basegfx/source/polygon/b2dpolygontools.cxx +++ b/basegfx/source/polygon/b2dpolygontools.cxx @@ -1150,7 +1150,7 @@ namespace basegfx::utils static void implHandleSnippet( const B2DPolygon& rSnippet, - std::function<void(const basegfx::B2DPolygon& rSnippet)>& rTargetCallback, + const std::function<void(const basegfx::B2DPolygon& rSnippet)>& rTargetCallback, B2DPolygon& rFirst, B2DPolygon& rLast) { @@ -1177,7 +1177,7 @@ namespace basegfx::utils } static void implHandleFirstLast( - std::function<void(const basegfx::B2DPolygon& rSnippet)>& rTargetCallback, + const std::function<void(const basegfx::B2DPolygon& rSnippet)>& rTargetCallback, B2DPolygon& rFirst, B2DPolygon& rLast) { diff --git a/basegfx/source/polygon/b3dpolygontools.cxx b/basegfx/source/polygon/b3dpolygontools.cxx index bf982f9c3e22..ac1f3a5a8d7e 100644 --- a/basegfx/source/polygon/b3dpolygontools.cxx +++ b/basegfx/source/polygon/b3dpolygontools.cxx @@ -119,7 +119,7 @@ namespace basegfx::utils static void implHandleSnippet( const B3DPolygon& rSnippet, - std::function<void(const basegfx::B3DPolygon& rSnippet)>& rTargetCallback, + const std::function<void(const basegfx::B3DPolygon& rSnippet)>& rTargetCallback, B3DPolygon& rFirst, B3DPolygon& rLast) { @@ -146,7 +146,7 @@ namespace basegfx::utils } static void implHandleFirstLast( - std::function<void(const basegfx::B3DPolygon& rSnippet)>& rTargetCallback, + const std::function<void(const basegfx::B3DPolygon& rSnippet)>& rTargetCallback, B3DPolygon& rFirst, B3DPolygon& rLast) { |