diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-13 10:50:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-13 10:53:28 +0100 |
commit | ee11e221d2108212619e1bbe7f029e7d9afdba32 (patch) | |
tree | 65e77bfcd7fc7a4ca7e1c111cc8707615bc0d613 /sd/source/ui/tools/SdGlobalResourceContainer.cxx | |
parent | e37388c7de15242b7af0bf9fdc48c6d194d8cd94 (diff) |
tdf#43157: Fix format string violations in OSL_TRACE etc.
...in preparation of enabling the __attribute__((format(...))) in
sal_detail_logFormat (include/sal/detail/log.h)
Change-Id: I8a859199fa11ca0f9f4f4b4b23a8ebddec955a86
Diffstat (limited to 'sd/source/ui/tools/SdGlobalResourceContainer.cxx')
-rw-r--r-- | sd/source/ui/tools/SdGlobalResourceContainer.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/tools/SdGlobalResourceContainer.cxx b/sd/source/ui/tools/SdGlobalResourceContainer.cxx index 6b310dd177f6..7bc31789a6c9 100644 --- a/sd/source/ui/tools/SdGlobalResourceContainer.cxx +++ b/sd/source/ui/tools/SdGlobalResourceContainer.cxx @@ -157,7 +157,8 @@ SdGlobalResourceContainer::~SdGlobalResourceContainer (void) if ( ! iSharedResource->unique()) { SdGlobalResource* pResource = iSharedResource->get(); - OSL_TRACE(" %p %d", pResource, iSharedResource->use_count()); + SAL_INFO( + "sd.tools", pResource << " " << iSharedResource->use_count()); DBG_ASSERT(iSharedResource->unique(), "SdGlobalResource still held in ~SdGlobalResourceContainer"); } |