summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx6
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 );