diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-12-25 14:27:02 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-25 17:56:19 +0000 |
commit | 17ce9a2578dd49ae743d86a0639ea0e9956bbc17 (patch) | |
tree | 96ae0743451803609bbf71bdb9c4a2b301943e7f /vcl/source/outdev/text.cxx | |
parent | 850e89adada534cb8a88b997fbe1f39c5303522f (diff) |
remove unneeded static_casts
found thanks to old comment
Change-Id: I9dbdd8c2f17243ce0d89468c18abd852c0e5eb78
Reviewed-on: https://gerrit.libreoffice.org/32420
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/outdev/text.cxx')
-rw-r--r-- | vcl/source/outdev/text.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx index a3f3d8317cf0..70497c52e3d9 100644 --- a/vcl/source/outdev/text.cxx +++ b/vcl/source/outdev/text.cxx @@ -242,7 +242,7 @@ bool OutputDevice::ImplDrawRotateText( SalLayout& rSalLayout ) // draw text into upper left corner rSalLayout.DrawBase() -= aBoundRect.TopLeft(); - rSalLayout.DrawText( *static_cast<OutputDevice*>(pVDev)->mpGraphics ); + rSalLayout.DrawText( *pVDev->mpGraphics ); Bitmap aBmp = pVDev->GetBitmap( Point(), aBoundRect.GetSize() ); if ( !aBmp || !aBmp.Rotate( mpFontInstance->mnOwnOrientation, COL_WHITE ) ) |