summaryrefslogtreecommitdiff
path: root/sd/source/ui/docshell/docshel3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/docshell/docshel3.cxx')
-rw-r--r--sd/source/ui/docshell/docshel3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/docshell/docshel3.cxx b/sd/source/ui/docshell/docshel3.cxx
index 9e5b3ab66208..91f347d1a2e5 100644
--- a/sd/source/ui/docshell/docshel3.cxx
+++ b/sd/source/ui/docshell/docshel3.cxx
@@ -174,7 +174,7 @@ void DrawDocShell::Execute( SfxRequest& rReq )
while (pShell)
{
- if (pShell->ISA(DrawDocShell))
+ if( dynamic_cast< const DrawDocShell *>( pShell ) != nullptr)
{
static_cast<DrawDocShell*>(pShell)->CancelSearching();
}