diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-09-20 10:18:12 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2011-09-21 09:28:39 +0200 |
commit | be6a8677a6ddb6387272a78406ec2149c4319f3d (patch) | |
tree | 0e6be3608de08f831f596a5c2dc5a3590d4a62c6 /xmlscript | |
parent | 6058133765a1f874d6bf9fb9f4d0811db32adc10 (diff) |
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
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 4 | ||||
-rw-r--r-- | xmlscript/source/xmllib_imexp/xmllib_import.cxx | 4 | ||||
-rw-r--r-- | xmlscript/source/xmlmod_imexp/xmlmod_import.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
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 } |