diff options
author | Oliver Specht <oliver.specht@cib.de> | 2015-09-29 11:00:09 +0200 |
---|---|---|
committer | Oliver Specht <oliver.specht@cib.de> | 2015-09-30 06:07:57 +0000 |
commit | ac9671f94800b647f82b12e718968311a025e87e (patch) | |
tree | f3a665eb3527022d016fa9bfdbe4128a8387c967 /extensions | |
parent | Fix typos (diff) | |
download | core-ac9671f94800b647f82b12e718968311a025e87e.tar.gz core-ac9671f94800b647f82b12e718968311a025e87e.zip |
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 <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/propctrlr/standardcontrol.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index 3018c48ef5b0..e40ee8a02926 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -669,7 +669,7 @@ namespace pcr const SfxPoolItem* pItem = pDocSh ? pDocSh->GetItem( SID_COLOR_TABLE ) : NULL; if ( pItem ) { - DBG_ASSERT(pItem->ISA(SvxColorListItem), "OColorControl::OColorControl: invalid color item!"); + DBG_ASSERT(dynamic_cast< const SvxColorListItem* >(pItem) != nullptr, "OColorControl::OColorControl: invalid color item!"); pColorList = static_cast<const SvxColorListItem*>( pItem )->GetColorList(); } |