summaryrefslogtreecommitdiff
path: root/sw/source/core/crsr/trvltbl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/crsr/trvltbl.cxx')
-rw-r--r--sw/source/core/crsr/trvltbl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/trvltbl.cxx b/sw/source/core/crsr/trvltbl.cxx
index 6c7ae407b910..9902b9c832f0 100644
--- a/sw/source/core/crsr/trvltbl.cxx
+++ b/sw/source/core/crsr/trvltbl.cxx
@@ -880,7 +880,7 @@ bool SwCrsrShell::EndAllTableBoxEdit()
bool bRet = false;
for(SwViewShell& rSh : GetRingContainer())
{
- if( rSh.IsA( TYPE( SwCrsrShell ) ) )
+ if( dynamic_cast<const SwCrsrShell *>(&rSh) != nullptr )
bRet |= static_cast<SwCrsrShell*>(&rSh)->CheckTableBoxContent(
static_cast<SwCrsrShell*>(&rSh)->m_pCurCrsr->GetPoint() );