From ac9671f94800b647f82b12e718968311a025e87e Mon Sep 17 00:00:00 2001 From: Oliver Specht Date: Tue, 29 Sep 2015 11:00:09 +0200 Subject: tdf#94559: second step to remove rtti.hxx replaced use of PTR_CAST, IS_TYPE, ISA in chart2, connectivity, editeng, extensions, filter, forms, framework, idl Change-Id: I6a2f9d8bbccb07088413f7552af4b5af8f0cad99 Reviewed-on: https://gerrit.libreoffice.org/18920 Tested-by: Jenkins Reviewed-by: Oliver Specht --- framework/source/layoutmanager/toolbarlayoutmanager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/source/layoutmanager') diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx index 9e719b8c33d4..a5bb7baa547a 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx @@ -912,7 +912,7 @@ long ToolbarLayoutManager::childWindowEvent( VclSimpleEvent* pEvent ) // To enable toolbar controllers to change their image when a sub-toolbar function // is activated, we need this mechanism. We have NO connection between these toolbars // anymore! - if ( pEvent && pEvent->ISA( VclWindowEvent )) + if ( dynamic_cast< const VclWindowEvent* >(pEvent) != nullptr ) { if ( pEvent->GetId() == VCLEVENT_TOOLBOX_SELECT ) { -- cgit