diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-01-28 17:21:10 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-01-29 21:48:13 +0100 |
commit | 4e12f9553b0182dc51282b7302a9e70da26b6d18 (patch) | |
tree | ad0e163c9af70e5df41af483850e345fa1726dc3 /cppu | |
parent | 585b789eadcc37bdf1577a4d0c3006b5364697a0 (diff) |
cppu: convert some OSL_TRACE
Change-Id: I5dc00f7b03b51916b1331c4ba64064a5aa5930c9
Diffstat (limited to 'cppu')
-rw-r--r-- | cppu/source/uno/lbmap.cxx | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/cppu/source/uno/lbmap.cxx b/cppu/source/uno/lbmap.cxx index 2354e7d88c4e..257417d4906e 100644 --- a/cppu/source/uno/lbmap.cxx +++ b/cppu/source/uno/lbmap.cxx @@ -390,9 +390,7 @@ static Mapping loadExternalMapping( if (! fpGetMapFunc) { -#if OSL_DEBUG_LEVEL > 1 - OSL_TRACE( "Could not find mapfunc for %s", OUStringToOString( aName, RTL_TEXTENCODING_ASCII_US ).getStr()); -#endif + SAL_INFO("cppu", "Could not find mapfunc for " << aName); return Mapping(); } @@ -665,10 +663,7 @@ void SAL_CALL uno_registerMapping( { OUString aMappingName( getMappingName( pFrom, pTo, pAddPurpose ? OUString(pAddPurpose) : OUString() ) ); -#if OSL_DEBUG_LEVEL > 2 - OString cstr( OUStringToOString( aMappingName, RTL_TEXTENCODING_ASCII_US ) ); - OSL_TRACE( "> inserting new mapping: %s", cstr.getStr() ); -#endif + SAL_INFO("cppu", "> inserting new mapping: " << aMappingName); // count initially 1 MappingEntry * pEntry = new MappingEntry( *ppMapping, freeMapping, aMappingName ); rData.aName2Entry[ aMappingName ] = pEntry; @@ -705,10 +700,7 @@ void SAL_CALL uno_revokeMapping( rData.aMapping2Entry.erase( pEntry->pMapping ); rData.aName2Entry.erase( pEntry->aMappingName ); aGuard.clear(); -#if OSL_DEBUG_LEVEL > 2 - OString cstr( OUStringToOString( pEntry->aMappingName, RTL_TEXTENCODING_ASCII_US ) ); - OSL_TRACE( "> revoking mapping %s", cstr.getStr() ); -#endif + SAL_INFO("cppu", "> revoking mapping " << pEntry->aMappingName); (*pEntry->freeMapping)( pEntry->pMapping ); delete pEntry; } |