From 94a5f6b6703d103d76a6954083ba25202506a5bd Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Wed, 13 Mar 2013 04:28:39 +0100 Subject: fix mac build Change-Id: Ib7aa2ffd351e85e76c84cd03c2a3b31c6b2c87ac --- vcl/source/app/dbggui.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source') diff --git a/vcl/source/app/dbggui.cxx b/vcl/source/app/dbggui.cxx index 0b544e28f49b..1fe7385eb097 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 ) -- cgit