summaryrefslogtreecommitdiff
path: root/cppcanvas/source/wrapper/implpolypolygon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppcanvas/source/wrapper/implpolypolygon.cxx')
-rw-r--r--cppcanvas/source/wrapper/implpolypolygon.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/cppcanvas/source/wrapper/implpolypolygon.cxx b/cppcanvas/source/wrapper/implpolypolygon.cxx
index ddd3be37fddc..ab1504c78e5c 100644
--- a/cppcanvas/source/wrapper/implpolypolygon.cxx
+++ b/cppcanvas/source/wrapper/implpolypolygon.cxx
@@ -64,22 +64,19 @@ namespace cppcanvas
void ImplPolyPolygon::setRGBAFillColor( Color::IntSRGBA aColor )
{
- maFillColor = tools::intSRGBAToDoubleSequence( getGraphicDevice(),
- aColor );
+ maFillColor = tools::intSRGBAToDoubleSequence( aColor );
mbFillColorSet = true;
}
void ImplPolyPolygon::setRGBALineColor( Color::IntSRGBA aColor )
{
- maStrokeColor = tools::intSRGBAToDoubleSequence( getGraphicDevice(),
- aColor );
+ maStrokeColor = tools::intSRGBAToDoubleSequence( aColor );
mbStrokeColorSet = true;
}
Color::IntSRGBA ImplPolyPolygon::getRGBALineColor() const
{
- return tools::doubleSequenceToIntSRGBA( getGraphicDevice(),
- maStrokeColor );
+ return tools::doubleSequenceToIntSRGBA( maStrokeColor );
}
void ImplPolyPolygon::setStrokeWidth( const double& rStrokeWidth )