diff options
Diffstat (limited to 'sd/source/ui/dlg/diactrl.cxx')
-rw-r--r-- | sd/source/ui/dlg/diactrl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/diactrl.cxx b/sd/source/ui/dlg/diactrl.cxx index 999c45e6e4d8..41c2754c2a4f 100644 --- a/sd/source/ui/dlg/diactrl.cxx +++ b/sd/source/ui/dlg/diactrl.cxx @@ -109,7 +109,7 @@ SdTbxCtlDiaPages::~SdTbxCtlDiaPages() void SdTbxCtlDiaPages::StateChanged( sal_uInt16, SfxItemState eState, const SfxPoolItem* pState ) { - SdPagesField* pFld = (SdPagesField*) GetToolBox().GetItemWindow( GetId() ); + SdPagesField* pFld = static_cast<SdPagesField*>( GetToolBox().GetItemWindow( GetId() ) ); DBG_ASSERT( pFld, "Window not found" ); if ( eState == SfxItemState::DISABLED ) |