From fe9d002ef55e30aa3629f4e1951beb18ebb692b0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 19 Jan 2015 15:10:10 +0100 Subject: Some more loplugin:cstylecast: vcl Change-Id: I74d35630b9fcdaa97af0b1f1e6d1e5c72488964d --- vcl/source/outdev/font.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source/outdev/font.cxx') diff --git a/vcl/source/outdev/font.cxx b/vcl/source/outdev/font.cxx index c2e820e4c0ab..d25a533f8d3d 100644 --- a/vcl/source/outdev/font.cxx +++ b/vcl/source/outdev/font.cxx @@ -402,7 +402,7 @@ void OutputDevice::ImplGetEmphasisMark( tools::PolyPolygon& rPolyPoly, bool& rPo else { Polygon aPoly( sizeof( aAccentPos ) / sizeof( long ) / 2, - (const Point*)aAccentPos, + reinterpret_cast(aAccentPos), aAccentPolyFlags ); double dScale = ((double)nDotSize)/1000.0; aPoly.Scale( dScale, dScale ); -- cgit