[Libreoffice-commits] .: tools/source

Andras Timar timar at kemper.freedesktop.org
Thu Sep 29 07:01:59 PDT 2011


 tools/source/rc/resmgr.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 05239e246346598a3cdffc7febcfaad41f1dabd5
Author: Andras Timar <atimar at suse.com>
Date:   Thu Sep 29 15:17:42 2011 +0200

    OSL_TRACE: Remove trailing newlines

diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx
index 4d9d749..1973419 100644
--- a/tools/source/rc/resmgr.cxx
+++ b/tools/source/rc/resmgr.cxx
@@ -183,7 +183,7 @@ ResMgrContainer::~ResMgrContainer()
     for( boost::unordered_map< OUString, ContainerElement, OUStringHash >::iterator it =
             m_aResFiles.begin(); it != m_aResFiles.end(); ++it )
     {
-        OSL_TRACE( "Resource file %s loaded %d times\n",
+        OSL_TRACE( "Resource file %s loaded %d times",
                          OUStringToOString( it->second.aFileURL, osl_getThreadTextEncoding() ).getStr(),
                          it->second.nLoadCount );
         delete it->second.pResMgr;
@@ -268,7 +268,7 @@ void ResMgrContainer::init()
     for( boost::unordered_map< OUString, ContainerElement, OUStringHash >::const_iterator it =
             m_aResFiles.begin(); it != m_aResFiles.end(); ++it )
     {
-        OSL_TRACE( "ResMgrContainer: %s -> %s\n",
+        OSL_TRACE( "ResMgrContainer: %s -> %s",
                  OUStringToOString( it->first, osl_getThreadTextEncoding() ).getStr(),
                  OUStringToOString( it->second.aFileURL, osl_getThreadTextEncoding() ).getStr() );
     }
@@ -1017,7 +1017,7 @@ void ResMgr::decStack()
         if( (rTop.Flags & RC_FALLBACK_DOWN) )
         {
             #if OSL_DEBUG_LEVEL > 1
-            OSL_TRACE( "returning from fallback %s\n",
+            OSL_TRACE( "returning from fallback %s",
                      OUStringToOString(pFallbackResMgr->GetFileName(), osl_getThreadTextEncoding() ).getStr() );
             #endif
             delete pFallbackResMgr;


More information about the Libreoffice-commits mailing list