From be6a8677a6ddb6387272a78406ec2149c4319f3d Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Tue, 20 Sep 2011 10:18:12 +0200 Subject: OSL_TRACE: Remove trailing newlines Done with perl regex: s/(\n\s*OSL_TRACE\(\s*\"[^\n]+?)\s*(\\n)+(\"[^\n]*\)\;\n)/$1$3/gs; - removed trailing whitespaces and (multiple) newlines --- xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 4 ++-- xmlscript/source/xmllib_imexp/xmllib_import.cxx | 4 ++-- xmlscript/source/xmlmod_imexp/xmlmod_import.cxx | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'xmlscript/source') diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx index c438053d4941..9bdb1be90587 100644 --- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx @@ -1911,7 +1911,7 @@ ElementBase::~ElementBase() #if OSL_DEBUG_LEVEL > 1 ::rtl::OString aStr( ::rtl::OUStringToOString( _aLocalName, RTL_TEXTENCODING_ASCII_US ) ); - OSL_TRACE( "ElementBase::~ElementBase(): %s\n", aStr.getStr() ); + OSL_TRACE( "ElementBase::~ElementBase(): %s", aStr.getStr() ); #endif } @@ -1980,7 +1980,7 @@ DialogImport::~DialogImport() SAL_THROW( () ) { #if OSL_DEBUG_LEVEL > 1 - OSL_TRACE( "DialogImport::~DialogImport().\n" ); + OSL_TRACE( "DialogImport::~DialogImport()." ); #endif } //__________________________________________________________________________________________________ diff --git a/xmlscript/source/xmllib_imexp/xmllib_import.cxx b/xmlscript/source/xmllib_imexp/xmllib_import.cxx index 2be008de582c..3167b0d41ee0 100644 --- a/xmlscript/source/xmllib_imexp/xmllib_import.cxx +++ b/xmlscript/source/xmllib_imexp/xmllib_import.cxx @@ -134,7 +134,7 @@ LibElementBase::~LibElementBase() #if OSL_DEBUG_LEVEL > 1 OString aStr( OUStringToOString( _aLocalName, RTL_TEXTENCODING_ASCII_US ) ); - OSL_TRACE( "LibElementBase::~LibElementBase(): %s\n", aStr.getStr() ); + OSL_TRACE( "LibElementBase::~LibElementBase(): %s", aStr.getStr() ); #endif } @@ -219,7 +219,7 @@ LibraryImport::~LibraryImport() SAL_THROW( () ) { #if OSL_DEBUG_LEVEL > 1 - OSL_TRACE( "LibraryImport::~LibraryImport().\n" ); + OSL_TRACE( "LibraryImport::~LibraryImport()." ); #endif } diff --git a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx index ab64e9eddb61..6abf6a6ed7c1 100644 --- a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx +++ b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx @@ -134,7 +134,7 @@ ModuleElement::~ModuleElement() #if OSL_DEBUG_LEVEL > 1 OString aStr( OUStringToOString( _aLocalName, RTL_TEXTENCODING_ASCII_US ) ); - OSL_TRACE( "ModuleElement::~ModuleElement(): %s\n", aStr.getStr() ); + OSL_TRACE( "ModuleElement::~ModuleElement(): %s", aStr.getStr() ); #endif } @@ -213,7 +213,7 @@ ModuleImport::~ModuleImport() SAL_THROW( () ) { #if OSL_DEBUG_LEVEL > 1 - OSL_TRACE( "ModuleImport::~ModuleImport().\n" ); + OSL_TRACE( "ModuleImport::~ModuleImport()." ); #endif } -- cgit