diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-27 14:18:05 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-28 08:10:20 +0200 |
commit | 1e21c77561b802bae4cb84631614f8aa612785a6 (patch) | |
tree | 46e776222ba369e12256e1c8f29f4db6a8a2ef0b /cui | |
parent | 14a2cfc27f86112469f2a2252bdc154ad8d3219f (diff) |
loplugin: cstylecast
Change-Id: I287dcb0ca728747ec91b5c3cdd986e60998e3928
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/transfrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/transfrm.cxx b/cui/source/tabpages/transfrm.cxx index 54fd77472801..ba6587b62374 100644 --- a/cui/source/tabpages/transfrm.cxx +++ b/cui/source/tabpages/transfrm.cxx @@ -528,7 +528,7 @@ void SvxSlantTabPage::Reset(const SfxItemSet* rAttrs) if( pItem ) { const double fUIScale(double(pView->GetModel()->GetUIScale())); - const double fTmp((double)((const SdrMetricItem*)pItem)->GetValue() / fUIScale); + const double fTmp((double)static_cast<const SdrMetricItem*>(pItem)->GetValue() / fUIScale); SetMetricValue(*m_pMtrRadius, basegfx::fround(fTmp), ePoolUnit); } else |