diff options
author | Oliver Specht <oliver.specht@cib.de> | 2015-11-07 14:43:19 +0100 |
---|---|---|
committer | Oliver Specht <oliver.specht@cib.de> | 2015-11-11 10:49:30 +0000 |
commit | fa91dd31f39a24329d288d4e1cda28db3a16af0d (patch) | |
tree | 603d7c206ac0ec1f1a08cc9f3bf8835bd8d2fb2f /sc/source/ui/app/scmod.cxx | |
parent | c21ddcdb30b8dd7be56176e00bc2d4780cb342e1 (diff) |
5th step to remove tools/rtti.hxx
tools/rtti.hxx removed
completed the interface of some Sdr.* Items
and removed pseudo items
Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a
Reviewed-on: https://gerrit.libreoffice.org/19837
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'sc/source/ui/app/scmod.cxx')
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 6327a373fb94..8a376e7da751 100644 --- a/sc/source/ui/app/scmod.cxx +++ b/sc/source/ui/app/scmod.cxx @@ -229,7 +229,7 @@ void ScModule::ConfigurationChanged( utl::ConfigurationBroadcaster* p, sal_uInt3 SfxObjectShell* pObjSh = SfxObjectShell::GetFirst(); while ( pObjSh ) { - if ( pObjSh->Type() == TYPE(ScDocShell) ) + if ( dynamic_cast<const ScDocShell * >(pObjSh) != nullptr ) { ScDocShell* pDocSh = static_cast<ScDocShell*>(pObjSh); if ( bArrows ) @@ -272,7 +272,7 @@ void ScModule::ConfigurationChanged( utl::ConfigurationBroadcaster* p, sal_uInt3 SfxObjectShell* pObjSh = SfxObjectShell::GetFirst(); while ( pObjSh ) { - if ( pObjSh->Type() == TYPE(ScDocShell) ) + if ( dynamic_cast<const ScDocShell *>(pObjSh) != nullptr ) { ScDocShell* pDocSh = static_cast<ScDocShell*>(pObjSh); OutputDevice* pPrinter = pDocSh->GetPrinter(); @@ -1327,7 +1327,7 @@ void ScModule::ModifyOptions( const SfxItemSet& rOptSet ) SfxObjectShell* pObjSh = SfxObjectShell::GetFirst(); while ( pObjSh ) { - if ( pObjSh->Type() == TYPE(ScDocShell) ) + if ( dynamic_cast<const ScDocShell *>(pObjSh) != nullptr ) { ScDocShell* pOneDocSh = static_cast<ScDocShell*>(pObjSh); pOneDocSh->CalcOutputFactor(); |