diff options
Diffstat (limited to 'svl/source/notify')
-rw-r--r-- | svl/source/notify/lstner.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/svl/source/notify/lstner.cxx b/svl/source/notify/lstner.cxx index 75928021351a..9c79da9e5185 100644 --- a/svl/source/notify/lstner.cxx +++ b/svl/source/notify/lstner.cxx @@ -35,7 +35,8 @@ struct SfxListener::Impl { SfxBroadcasterArr_Impl maBCs; #ifdef DBG_UTIL - std::map<SfxBroadcaster*, std::unique_ptr<BacktraceState>> maCallStacks; + std::map<SfxBroadcaster*, std::unique_ptr<sal::BacktraceState>> + maCallStacks; #endif }; @@ -95,7 +96,7 @@ void SfxListener::StartListening( SfxBroadcaster& rBroadcaster, bool bPreventDup if (bListeningAlready && !bPreventDuplicates) { auto f = mpImpl->maCallStacks.find( &rBroadcaster ); - SAL_WARN("svl", "previous StartListening call came from: " << sal_backtrace_to_string(f->second.get())); + SAL_WARN("svl", "previous StartListening call came from: " << sal::backtrace_to_string(f->second.get())); } #endif assert(!(bListeningAlready && !bPreventDuplicates) && "duplicate listener, try building with DBG_UTIL to find the other insert site."); @@ -105,7 +106,7 @@ void SfxListener::StartListening( SfxBroadcaster& rBroadcaster, bool bPreventDup rBroadcaster.AddListener(*this); mpImpl->maBCs.push_back( &rBroadcaster ); #ifdef DBG_UTIL - mpImpl->maCallStacks.emplace( &rBroadcaster, sal_backtrace_get(10) ); + mpImpl->maCallStacks.emplace( &rBroadcaster, sal::backtrace_get(10) ); #endif assert(IsListening(rBroadcaster) && "StartListening failed"); } |