summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'drawinglayer/source/primitive2d/metafileprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/metafileprimitive2d.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
index 1c8365e9ee67..fa19d1df91b5 100644
--- a/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/metafileprimitive2d.cxx
@@ -597,7 +597,7 @@ namespace
const std::vector< basegfx::B2DPoint >& rPositions,
TargetHolder& rTarget,
PropertyHolder& rProperties,
- basegfx::BColor aBColor)
+ const basegfx::BColor& rBColor)
{
if(!rPositions.empty())
{
@@ -606,7 +606,7 @@ namespace
rTarget.append(
new drawinglayer::primitive2d::PointArrayPrimitive2D(
rPositions,
- aBColor));
+ rBColor));
}
else
{
@@ -620,7 +620,7 @@ namespace
rTarget.append(
new drawinglayer::primitive2d::PointArrayPrimitive2D(
aPositions,
- aBColor));
+ rBColor));
}
}
}