diff options
author | Radu Ioan <ioan.radu.g@gmail.com> | 2013-02-05 00:18:15 +0200 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-02-05 15:55:01 +0100 |
commit | f4f727f7bfc848deb82e4df4c6e3b9affaf5f613 (patch) | |
tree | 30394aa2096f73b988907028416df2913b5ceec6 /canvas/source | |
parent | 8e633e6243e87c651586d8c16ade8af719c957b7 (diff) |
fdo#43157 - Clean up OSL_ASSERT, DBG_ASSERT
- changed osl_trace with sal_info
Change-Id: I6504abf50f6193db52d101ec856bcaf1ee2a982c
Diffstat (limited to 'canvas/source')
-rw-r--r-- | canvas/source/null/null_usagecounter.hxx | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/canvas/source/null/null_usagecounter.hxx b/canvas/source/null/null_usagecounter.hxx index 5a3260e47714..482f2207dcf9 100644 --- a/canvas/source/null/null_usagecounter.hxx +++ b/canvas/source/null/null_usagecounter.hxx @@ -22,6 +22,7 @@ #include <osl/interlck.h> #include <boost/current_function.hpp> +#include "sal/log.hxx" namespace nullcanvas { @@ -36,9 +37,7 @@ namespace nullcanvas public: UsageCounter() { - OSL_TRACE( "%s, %d objects currently in use.\n", - BOOST_CURRENT_FUNCTION, - osl_atomic_increment( &s_nCount ) ); + SAL_INFO("canvas.null","" << BOOST_CURRENT_FUNCTION << ", " << osl_atomic_increment( &s_nCount ) << " objects currently in use.\n"); } ~UsageCounter() @@ -47,14 +46,11 @@ namespace nullcanvas if( !nCount ) { - OSL_TRACE( "%s, last instance deleted.\n", - BOOST_CURRENT_FUNCTION ); + SAL_INFO("canvas.null", "" << BOOST_CURRENT_FUNCTION << ", last instance deleted.\n"); } else { - OSL_TRACE( "%s, %d instances left.\n", - BOOST_CURRENT_FUNCTION, - nCount ); + SAL_INFO("canvas.null", "" << BOOST_CURRENT_FUNCTION << ", " << nCount << " instances left.\n"); } } |