diff options
Diffstat (limited to 'sc/source/core/tool/lookupcache.cxx')
-rw-r--r-- | sc/source/core/tool/lookupcache.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/lookupcache.cxx b/sc/source/core/tool/lookupcache.cxx index 15d161bda9e1..08c56e52db47 100644 --- a/sc/source/core/tool/lookupcache.cxx +++ b/sc/source/core/tool/lookupcache.cxx @@ -109,7 +109,7 @@ void ScLookupCache::Notify( const SfxHint& rHint ) { if (!mpDoc->IsInDtorClear()) { - const ScHint* p = PTR_CAST( ScHint, &rHint ); + const ScHint* p = dynamic_cast<const ScHint*>(&rHint); if (p && (p->GetId() & SC_HINT_DATACHANGED)) { mpDoc->RemoveLookupCache( *this); |