summaryrefslogtreecommitdiff
path: root/svx/source/stbctrls/xmlsecctrl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/stbctrls/xmlsecctrl.cxx')
-rw-r--r--svx/source/stbctrls/xmlsecctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/stbctrls/xmlsecctrl.cxx b/svx/source/stbctrls/xmlsecctrl.cxx
index cb6e953f52cb..4a83066f7f06 100644
--- a/svx/source/stbctrls/xmlsecctrl.cxx
+++ b/svx/source/stbctrls/xmlsecctrl.cxx
@@ -91,7 +91,7 @@ void XmlSecStatusBarControl::StateChanged( sal_uInt16, SfxItemState eState, cons
}
else if( pState->ISA( SfxUInt16Item ) )
{
- mpImpl->mnState = ( ( SfxUInt16Item* ) pState )->GetValue();
+ mpImpl->mnState = static_cast<const SfxUInt16Item*>(pState)->GetValue();
}
else
{