diff options
Diffstat (limited to 'sd/source/ui/func/futempl.cxx')
-rw-r--r-- | sd/source/ui/func/futempl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/func/futempl.cxx b/sd/source/ui/func/futempl.cxx index 2b4624758356..f8cfe96a645c 100644 --- a/sd/source/ui/func/futempl.cxx +++ b/sd/source/ui/func/futempl.cxx @@ -529,7 +529,7 @@ void FuTemplate::DoExecute( SfxRequest& rReq ) while( aIter.IsMore() ) { SdrObject* pObj = aIter.Next(); - if( pObj->ISA(SdrPageObj) ) + if( dynamic_cast< const SdrPageObj *>( pObj ) != nullptr ) { // repaint only pObj->ActionChanged(); @@ -609,7 +609,7 @@ void FuTemplate::DoExecute( SfxRequest& rReq ) case SID_STYLE_UPDATE_BY_EXAMPLE: { if ((mpView->AreObjectsMarked() && mpView->GetMarkedObjectList().GetMarkCount() == 1) || - mpView->ISA(OutlineView)) + dynamic_cast< const OutlineView *>( mpView ) != nullptr) { pStyleSheet = mpView->GetStyleSheet(); |