From 85f93697defd9a812a0cda0bc4e9364e28c0339e Mon Sep 17 00:00:00 2001 From: Oliver Specht Date: Tue, 29 Sep 2015 15:35:28 +0200 Subject: tdf#94559: third step to remove rtti.hxx replaced use of PTR_CAST, IS_TYPE, ISA in oox, reportdesign, svl, svtools, svx, tools Change-Id: I1f85ff92267a0668eba625fa61b4f07feb8f3d4e Reviewed-on: https://gerrit.libreoffice.org/19002 Tested-by: Jenkins Reviewed-by: Oliver Specht --- svx/source/tbxctrls/layctrl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/tbxctrls/layctrl.cxx') diff --git a/svx/source/tbxctrls/layctrl.cxx b/svx/source/tbxctrls/layctrl.cxx index bfa401734dd8..a557ac8b1ed9 100644 --- a/svx/source/tbxctrls/layctrl.cxx +++ b/svx/source/tbxctrls/layctrl.cxx @@ -725,7 +725,7 @@ VclPtr SvxTableToolBoxControl::CreatePopupWindow() void SvxTableToolBoxControl::StateChanged( sal_uInt16, SfxItemState eState, const SfxPoolItem* pState ) { - if ( pState && pState->ISA(SfxUInt16Item) ) + if ( pState && dynamic_cast(pState) != nullptr ) { sal_Int16 nValue = static_cast< const SfxUInt16Item* >( pState )->GetValue(); bEnabled = ( nValue != 0 ); -- cgit