diff options
Diffstat (limited to 'vcl/source/app/dbggui.cxx')
-rw-r--r-- | vcl/source/app/dbggui.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx index a61cdea25004..118018024aaa 100644 --- a/vcl/source/app/dbggui.cxx +++ b/vcl/source/app/dbggui.cxx @@ -618,7 +618,7 @@ long DbgWindow::PreNotify( NotifyEvent& rNEvt ) void DbgWindow::InsertLine( const OUString& rLine ) { OUString aStr = convertLineEnd(rLine, LINEEND_LF); - sal_Int32 nPos = aStr.indexOf( _LF ); + sal_Int32 nPos = aStr.indexOf( '\n' ); bool bFirstEntry = true; while ( nPos != -1 ) { @@ -631,7 +631,7 @@ void DbgWindow::InsertLine( const OUString& rLine ) bFirstEntry = false; aStr = aStr.replaceAt( 0, nPos+1, "" ); - nPos = aStr.indexOf( _LF ); + nPos = aStr.indexOf( '\n' ); } if ( maLstBox.GetEntryCount() >= DBGWIN_MAXLINES ) maLstBox.RemoveEntry( 0 ); @@ -1144,7 +1144,7 @@ void DbgInfoDialog::SetInfoText( const OUString& rStr ) sal_Int32 nFoundIndex; do { - nFoundIndex = aStr.indexOf( _LF, nStrIndex ); + nFoundIndex = aStr.indexOf( '\n', nStrIndex ); OUString aTextParagraph = aStr.copy( nStrIndex, nFoundIndex-nStrIndex ); if ( mbHelpText ) { |