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/lboxctrl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'svx/source/tbxctrls/lboxctrl.cxx') diff --git a/svx/source/tbxctrls/lboxctrl.cxx b/svx/source/tbxctrls/lboxctrl.cxx index 53ac64e6950b..8b0159bce12f 100644 --- a/svx/source/tbxctrls/lboxctrl.cxx +++ b/svx/source/tbxctrls/lboxctrl.cxx @@ -242,7 +242,7 @@ void SvxUndoRedoControl::StateChanged( ToolBox& rBox = GetToolBox(); rBox.SetQuickHelpText( GetId(), aDefaultText ); } - else if ( pState && pState->ISA( SfxStringItem ) ) + else if ( pState && dynamic_cast( pState) != nullptr ) { const SfxStringItem& rItem = *static_cast(pState); ToolBox& rBox = GetToolBox(); @@ -255,7 +255,7 @@ void SvxUndoRedoControl::StateChanged( { aUndoRedoList.clear(); - if ( pState && pState->ISA( SfxStringListItem ) ) + if ( pState && dynamic_cast( pState) != nullptr ) { const SfxStringListItem &rItem = *static_cast(pState); -- cgit