[Libreoffice-commits] core.git: vcl/source

Thomas Arnhold thomas at arnhold.org
Tue Mar 12 20:29:08 PDT 2013


 vcl/source/app/dbggui.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 94a5f6b6703d103d76a6954083ba25202506a5bd
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Wed Mar 13 04:28:39 2013 +0100

    fix mac build
    
    Change-Id: Ib7aa2ffd351e85e76c84cd03c2a3b31c6b2c87ac

diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx
index 0b544e2..1fe7385 100644
--- a/vcl/source/app/dbggui.cxx
+++ b/vcl/source/app/dbggui.cxx
@@ -629,7 +629,7 @@ void DbgWindow::InsertLine( const OUString& rLine )
             maLstBox.SetEntryData( nInsertionPos, reinterpret_cast< void* >( 0x00000001 ) );
         bFirstEntry = sal_False;
 
-        aStr.replaceAt( 0, nPos+1, "" );
+        aStr = aStr.replaceAt( 0, nPos+1, "" );
         nPos = aStr.indexOf( _LF );
     }
     if ( maLstBox.GetEntryCount() >= DBGWIN_MAXLINES )


More information about the Libreoffice-commits mailing list