diff options
author | Radu Ioan <ioan.radu.g@gmail.com> | 2013-02-06 00:10:23 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-02-19 16:02:40 +0000 |
commit | ef1d096ddc311a2fd821d4076421c4a8f8d63abf (patch) | |
tree | 5736a7b4193228c621a4a51b1dc713ec9b932ded /tools | |
parent | a09f11715be53587ee2b0368e19f45cc85fb6cf1 (diff) |
fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT
- replaced osl_trace with sal_info
- added new log areas to log-area.dox
Change-Id: Ib47c4b4c9604bca1f8a635dd01bb89702b47b591
Reviewed-on: https://gerrit.libreoffice.org/2010
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/memtools/mempool.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/source/memtools/mempool.cxx b/tools/source/memtools/mempool.cxx index 4fee6a5de3c0..fe79b471a343 100644 --- a/tools/source/memtools/mempool.cxx +++ b/tools/source/memtools/mempool.cxx @@ -18,7 +18,7 @@ */ #include "tools/mempool.hxx" -#include "osl/diagnose.h" +#include "sal/log.hxx" #include "rtl/alloc.h" #include <stdio.h> @@ -29,12 +29,12 @@ FixedMemPool::FixedMemPool(char const * pTypeName, sal_uInt16 nTypeSize) char name[RTL_CACHE_NAME_LENGTH + 1]; snprintf (name, sizeof(name), "FixedMemPool_%d", (int)nTypeSize); m_pImpl = (FixedMemPool_Impl*)rtl_cache_create (name, nTypeSize, 0, NULL, NULL, NULL, 0, NULL, 0); - OSL_TRACE("FixedMemPool::ctor(\"%s\"): %p", m_pTypeName, m_pImpl); + SAL_INFO("tools.memtools","FixedMemPool::ctor(\"" << m_pTypeName << "\"): " << m_pImpl); } FixedMemPool::~FixedMemPool() { - OSL_TRACE("FixedMemPool::dtor(\"%s\"): %p", m_pTypeName, m_pImpl); + SAL_INFO("tools.memtools","FixedMemPool::dtor(\"" << m_pTypeName << "\"): " << m_pImpl); rtl_cache_destroy ((rtl_cache_type*)(m_pImpl)), m_pImpl = 0; } |