diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-26 10:27:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-26 11:46:38 +0200 |
commit | 5be1635d45e28e047af0cde4e387b07a3131cc9d (patch) | |
tree | d2bd0d9f133c10e563655081174d1481a68e09b3 /sw/source/uibase/ribbar/workctrl.cxx | |
parent | b61ca31e53f0a56667a5e00e966681be29ea7bf7 (diff) |
loplugin: cstylecast
Change-Id: Idce7220056f7bc339a5060fd0bd6fbbbdde4f6ff
Diffstat (limited to 'sw/source/uibase/ribbar/workctrl.cxx')
-rw-r--r-- | sw/source/uibase/ribbar/workctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/ribbar/workctrl.cxx b/sw/source/uibase/ribbar/workctrl.cxx index 5cf01617207f..1a2862ddfe65 100644 --- a/sw/source/uibase/ribbar/workctrl.cxx +++ b/sw/source/uibase/ribbar/workctrl.cxx @@ -682,7 +682,7 @@ void SwPreviewZoomControl::StateChanged( sal_uInt16 /*nSID*/, SwZoomBox_Impl* pBox = (SwZoomBox_Impl*)GetToolBox().GetItemWindow( GetId() ); if(SfxItemState::DEFAULT <= eState) { - OUString sZoom(unicode::formatPercent(((const SfxUInt16Item*)pState)->GetValue(), + OUString sZoom(unicode::formatPercent(static_cast<const SfxUInt16Item*>(pState)->GetValue(), Application::GetSettings().GetUILanguageTag())); pBox->SetText(sZoom); pBox->SaveValue(); |