From 2ac31b06ae4895fe5d9be51403774a96b89919af Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 13 Dec 2013 11:24:35 +0200 Subject: Unnecessary use of OUString constructor inside OUStringBuffer constructor Convert code like: OUStringBuffer sVal(OUString("0x")); to: OUStringBuffer sVal("0x"); Change-Id: Idc5a3f6a8bf1dc33f93c2b488f866c8ea58d582a --- sdext/source/minimizer/pppoptimizerdialog.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sdext/source') diff --git a/sdext/source/minimizer/pppoptimizerdialog.cxx b/sdext/source/minimizer/pppoptimizerdialog.cxx index 64aac3e0211e..aa9787813e18 100644 --- a/sdext/source/minimizer/pppoptimizerdialog.cxx +++ b/sdext/source/minimizer/pppoptimizerdialog.cxx @@ -142,7 +142,7 @@ void SAL_CALL PPPOptimizerDialog::dispatch( const URL& rURL, if ( nFileSizeSource && nFileSizeDest ) { - OUStringBuffer sBuf( OUString("Your Presentation has been minimized from:") ); + OUStringBuffer sBuf( "Your Presentation has been minimized from:" ); sBuf.append( OUString::number( nFileSizeSource >> 10 ) ); sBuf.append( "KB to " ); sBuf.append( OUString::number( nFileSizeDest >> 10 ) ); -- cgit