diff options
Diffstat (limited to 'vcl/source/outdev/polygon.cxx')
-rw-r--r-- | vcl/source/outdev/polygon.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/outdev/polygon.cxx b/vcl/source/outdev/polygon.cxx index fdcb85227543..36f63ac8e4ba 100644 --- a/vcl/source/outdev/polygon.cxx +++ b/vcl/source/outdev/polygon.cxx @@ -435,7 +435,7 @@ void OutputDevice::ImplDrawPolyPolygon( const tools::PolyPolygon& rPolyPoly, con } else { - pPolyPoly = (tools::PolyPolygon*) &rPolyPoly; + pPolyPoly = const_cast<tools::PolyPolygon*>(&rPolyPoly); } if( pPolyPoly->Count() == 1 ) { |