summaryrefslogtreecommitdiff
path: root/sw/source/core/access/accdoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/access/accdoc.cxx')
-rw-r--r--sw/source/core/access/accdoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx
index fbfdde8fc2dc..d771d27be569 100644
--- a/sw/source/core/access/accdoc.cxx
+++ b/sw/source/core/access/accdoc.cxx
@@ -563,7 +563,7 @@ uno::Any SAL_CALL SwAccessibleDocument::getExtendedAttributes()
if( !pCrsrShell )
return anyAtrribute;
- SwFEShell* pFEShell = pCrsrShell->ISA( SwFEShell )
+ SwFEShell* pFEShell = dynamic_cast<const SwFEShell*>( pCrsrShell) != nullptr
? static_cast<SwFEShell*>( pCrsrShell )
: 0;
OUString sAttrName;