Kaydet (Commit) 80d8cbb8 authored tarafından Julien Nabet's avatar Julien Nabet

SAL_INFO->SAL_WARN in lstner.cxx (svl module)

Since we're already in #ifdef DBG_UTIL, we can also directly use SAL_WARN

Change-Id: Ic7c564f6c08e05eb9bd5928ef031f212def094aa
Reviewed-on: https://gerrit.libreoffice.org/41531Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst c8433218
...@@ -95,7 +95,7 @@ void SfxListener::StartListening( SfxBroadcaster& rBroadcaster, bool bPreventDup ...@@ -95,7 +95,7 @@ void SfxListener::StartListening( SfxBroadcaster& rBroadcaster, bool bPreventDup
if (bListeningAlready && !bPreventDuplicates) if (bListeningAlready && !bPreventDuplicates)
{ {
auto f = mpImpl->maCallStacks.find( &rBroadcaster ); auto f = mpImpl->maCallStacks.find( &rBroadcaster );
SAL_INFO("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 #endif
assert(!(bListeningAlready && !bPreventDuplicates) && "duplicate listener, try building with DBG_UTIL to find the other insert site."); assert(!(bListeningAlready && !bPreventDuplicates) && "duplicate listener, try building with DBG_UTIL to find the other insert site.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment