summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-09-05 11:04:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-09-06 09:17:26 +0200
commit796c494d78a851aae7d58e0720f64984cb5716de (patch)
treeb867736e46945b3cb5b5e4f963090939a8535172 /svl
parent176a723876b0138debb20f824103b2ab0c910401 (diff)
Clean up sal/backtrace.hxx
Change-Id: Id78e9c0ca29ff2e52591f3d446431ac23c20ab7a Reviewed-on: https://gerrit.libreoffice.org/41926 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'svl')
-rw-r--r--svl/source/notify/lstner.cxx7
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");
}