summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/servobj.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/servobj.cxx')
-rw-r--r--sc/source/ui/docshell/servobj.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/servobj.cxx b/sc/source/ui/docshell/servobj.cxx
index 8fddc9b74427..e090bd26724b 100644
--- a/sc/source/ui/docshell/servobj.cxx
+++ b/sc/source/ui/docshell/servobj.cxx
@@ -209,7 +209,7 @@ void ScServerObject::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
// don't access DocShell anymore for EndListening etc.
}
}
- else if (rBC.ISA(SfxApplication))
+ else if (dynamic_cast<const SfxApplication*>( &rBC) != nullptr)
{
const SfxSimpleHint* pSimpleHint = dynamic_cast<const SfxSimpleHint*>( &rHint );
if ( !aItemStr.isEmpty() && pSimpleHint &&