summaryrefslogtreecommitdiff
path: root/starmath/source/tmpdevice.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-03 10:43:00 +0200
committerNoel Grandin <noel@peralex.com>2014-12-03 10:43:53 +0200
commit0b30d5344cad60967aa79bad86916debbf4371e9 (patch)
tree1ddd7b583532b55e155f761aa5e97f818492ad6d /starmath/source/tmpdevice.cxx
parent57fe57677887dd951000d3317690f8c628a58e02 (diff)
loplugin: cstylecast
Change-Id: I759f55218538c8d39018626f14e78cd56341d44b
Diffstat (limited to 'starmath/source/tmpdevice.cxx')
-rw-r--r--starmath/source/tmpdevice.cxx2
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;