diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-04-05 20:34:41 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-04-05 20:46:26 +0300 |
commit | 694bb9f5de9128657225f3cab0baa14186c62480 (patch) | |
tree | 704a3d56ff116f9fae5c27017a75e16621882aa3 /cppu | |
parent | 8451dec867e8443349921c3a5a2fa7c5205a30a6 (diff) |
Do two fairly useless but often emitted OSL_TRACEs only if OSL_DEBUG_LEVEL > 2
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/lbmap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx index 219a4bfb358b..0dab9016732c 100644 --- a/cppu/source/uno/lbmap.cxx +++ b/cppu/source/uno/lbmap.cxx @@ -683,7 +683,7 @@ CPPU_DLLPUBLIC void SAL_CALL uno_registerMapping( { OUString aMappingName( getMappingName( pFrom, pTo, pAddPurpose ? OUString(pAddPurpose) : OUString() ) ); -#if OSL_DEBUG_LEVEL > 1 +#if OSL_DEBUG_LEVEL > 2 OString cstr( OUStringToOString( aMappingName, RTL_TEXTENCODING_ASCII_US ) ); OSL_TRACE( "> inserting new mapping: %s", cstr.getStr() ); #endif @@ -723,7 +723,7 @@ CPPU_DLLPUBLIC void SAL_CALL uno_revokeMapping( rData.aMapping2Entry.erase( pEntry->pMapping ); rData.aName2Entry.erase( pEntry->aMappingName ); aGuard.clear(); -#if OSL_DEBUG_LEVEL > 1 +#if OSL_DEBUG_LEVEL > 2 OString cstr( OUStringToOString( pEntry->aMappingName, RTL_TEXTENCODING_ASCII_US ) ); OSL_TRACE( "> revoking mapping %s", cstr.getStr() ); #endif |