summaryrefslogtreecommitdiff
path: root/sc/source/core/data/documen9.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/data/documen9.cxx')
-rw-r--r--sc/source/core/data/documen9.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen9.cxx b/sc/source/core/data/documen9.cxx
index 0c9ad39acfc5..9ca20922cded 100644
--- a/sc/source/core/data/documen9.cxx
+++ b/sc/source/core/data/documen9.cxx
@@ -344,7 +344,7 @@ void ScDocument::StartAnimations( SCTAB nTab, vcl::Window* pWin )
SdrObject* pObject = aIter.Next();
while (pObject)
{
- if (pObject->ISA(SdrGrafObj))
+ if (dynamic_cast<const SdrGrafObj*>( pObject) != nullptr)
{
SdrGrafObj* pGrafObj = static_cast<SdrGrafObj*>(pObject);
if ( pGrafObj->IsAnimated() )