diff options
Diffstat (limited to 'sw/source/uibase/utlui/zoomctrl.cxx')
-rw-r--r-- | sw/source/uibase/utlui/zoomctrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/zoomctrl.cxx b/sw/source/uibase/utlui/zoomctrl.cxx index 3faa4a64f29e..e4990cc9fcd7 100644 --- a/sw/source/uibase/utlui/zoomctrl.cxx +++ b/sw/source/uibase/utlui/zoomctrl.cxx @@ -45,7 +45,7 @@ void SwZoomControl::StateChanged( sal_uInt16 nSID, SfxItemState eState, { if(SfxItemState::DEFAULT == eState && pState->ISA( SfxStringItem )) { - sPreviewZoom = ((const SfxStringItem*)pState)->GetValue(); + sPreviewZoom = static_cast<const SfxStringItem*>(pState)->GetValue(); GetStatusBar().SetItemText( GetId(), sPreviewZoom ); } else |