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 /desktop/source | |
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 'desktop/source')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_dialog2.cxx | 16 | ||||
-rw-r--r-- | desktop/source/migration/migration.cxx | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index 01e7f92aac6b..a0768dd0806c 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -987,11 +987,11 @@ IMPL_LINK( ExtMgrDialog, startProgress, void*, _bLockInterface ) m_aProgressBar.SetValue( 100 ); m_xAbortChannel.clear(); - OSL_TRACE( " startProgress handler: stop\n" ); + OSL_TRACE( " startProgress handler: stop" ); } else { - OSL_TRACE( " startProgress handler: start\n" ); + OSL_TRACE( " startProgress handler: start" ); } m_aCancelBtn.Enable( bLockInterface ); @@ -1015,13 +1015,13 @@ void ExtMgrDialog::showProgress( bool _bStart ) { m_nProgress = 0; m_bStartProgress = true; - OSL_TRACE( "showProgress start\n" ); + OSL_TRACE( "showProgress start" ); } else { m_nProgress = 100; m_bStopProgress = true; - OSL_TRACE( "showProgress stop!\n" ); + OSL_TRACE( "showProgress stop!" ); } DialogHelper::PostUserEvent( LINK( this, ExtMgrDialog, startProgress ), (void*) bStart ); @@ -1400,11 +1400,11 @@ IMPL_LINK( UpdateRequiredDialog, startProgress, void*, _bLockInterface ) if ( m_aProgressBar.IsVisible() ) m_aProgressBar.SetValue( 100 ); m_xAbortChannel.clear(); - OSL_TRACE( " startProgress handler: stop\n" ); + OSL_TRACE( " startProgress handler: stop" ); } else { - OSL_TRACE( " startProgress handler: start\n" ); + OSL_TRACE( " startProgress handler: start" ); } m_aCancelBtn.Enable( bLockInterface ); @@ -1425,13 +1425,13 @@ void UpdateRequiredDialog::showProgress( bool _bStart ) { m_nProgress = 0; m_bStartProgress = true; - OSL_TRACE( "showProgress start\n" ); + OSL_TRACE( "showProgress start" ); } else { m_nProgress = 100; m_bStopProgress = true; - OSL_TRACE( "showProgress stop!\n" ); + OSL_TRACE( "showProgress stop!" ); } DialogHelper::PostUserEvent( LINK( this, UpdateRequiredDialog, startProgress ), (void*) bStart ); diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index 465993c70e1c..906f034a1acd 100644 --- a/desktop/source/migration/migration.cxx +++ b/desktop/source/migration/migration.cxx @@ -214,7 +214,7 @@ bool MigrationImpl::initializeMigration() bRet = m_aInfo.userdata.getLength() > 0; } - OSL_TRACE( "Migration %s\n", bRet ? "needed" : "not required" ); + OSL_TRACE( "Migration %s", bRet ? "needed" : "not required" ); return bRet; } |