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/smmod.cxx | |
parent | fdo#84938 replace BASERR_REASON_ constants -> enum (diff) | |
download | core-0b30d5344cad60967aa79bad86916debbf4371e9.tar.gz core-0b30d5344cad60967aa79bad86916debbf4371e9.zip |
loplugin: cstylecast
Change-Id: I759f55218538c8d39018626f14e78cd56341d44b
Diffstat (limited to 'starmath/source/smmod.cxx')
-rw-r--r-- | starmath/source/smmod.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/smmod.cxx b/starmath/source/smmod.cxx index 7373ae6089d5..8f0ef42657a0 100644 --- a/starmath/source/smmod.cxx +++ b/starmath/source/smmod.cxx @@ -208,7 +208,7 @@ void SmModule::ApplyColorConfigValues( const svtools::ColorConfig &rColorCfg ) { if ((pViewShell->IsA(aSmViewTypeId))) { - SmViewShell *pSmView = (SmViewShell *) pViewShell; + SmViewShell *pSmView = static_cast<SmViewShell *>(pViewShell); pSmView->GetGraphicWindow().ApplyColorConfigValues( rColorCfg ); SmEditWindow *pEditWin = pSmView->GetEditWindow(); if (pEditWin) |