summaryrefslogtreecommitdiff
path: root/basegfx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx')
-rw-r--r--basegfx/source/polygon/b2dpolygontools.cxx4
-rw-r--r--basegfx/source/polygon/b3dpolygontools.cxx4
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)
{