diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-03 10:43:00 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-03 10:43:53 +0200 |
commit | 0b30d5344cad60967aa79bad86916debbf4371e9 (patch) | |
tree | 1ddd7b583532b55e155f761aa5e97f818492ad6d /starmath/source/tmpdevice.cxx | |
parent | 57fe57677887dd951000d3317690f8c628a58e02 (diff) |
loplugin: cstylecast
Change-Id: I759f55218538c8d39018626f14e78cd56341d44b
Diffstat (limited to 'starmath/source/tmpdevice.cxx')
-rw-r--r-- | starmath/source/tmpdevice.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/tmpdevice.cxx b/starmath/source/tmpdevice.cxx index 934bff4030f1..b6232bd3a013 100644 --- a/starmath/source/tmpdevice.cxx +++ b/starmath/source/tmpdevice.cxx @@ -54,7 +54,7 @@ Color SmTmpDevice::Impl_GetColor( const Color& rColor ) { Color aBgCol( rOutDev.GetBackground().GetColor() ); if (OUTDEV_WINDOW == rOutDev.GetOutDevType()) - aBgCol = ((vcl::Window &) rOutDev).GetDisplayBackground().GetColor(); + aBgCol = static_cast<vcl::Window &>(rOutDev).GetDisplayBackground().GetColor(); nNewCol = SM_MOD()->GetColorConfig().GetColorValue(svtools::FONTCOLOR).nColor; |