diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-04-17 20:15:18 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-04-18 13:21:08 +0200 |
commit | 47754fe3ed8359a393c20996d70770c1dcd92207 (patch) | |
tree | cf4d170030e10cd8fcd9ff4d882e51831d80afec /desktop | |
parent | 592e23ab123acfb18c0988f107528744727337d8 (diff) |
Desktop::HandleBootstrapPathErrors: try to not be totally useless
Change-Id: I400790635849171f710fbc70969dbd337ffe6859
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index 8ca7705444f2..2e8fe11f9f7d 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -748,11 +748,7 @@ void Desktop::HandleBootstrapPathErrors( ::utl::Bootstrap::Status aBootstrapStat if ( !aTemp.isEmpty() ) aProductKey = aTemp; - OUString aMessage; - OUStringBuffer aBuffer( 100 ); - aBuffer.append( aDiagnosticMessage ); - - aBuffer.appendAscii( "\n" ); + OUString const aMessage(aDiagnosticMessage + "\n"); ErrorBox aBootstrapFailedBox( NULL, WB_OK, aMessage ); aBootstrapFailedBox.SetText( aProductKey ); |