From 03c1f1732d738f57afee3d69e6a5f18d2eac5934 Mon Sep 17 00:00:00 2001 From: Ricardo Montania Date: Wed, 13 Mar 2013 10:42:57 -0300 Subject: String::AppendAscii cleanup Change-Id: If9e57c77d39597db78739a7886d76ee0197f6461 Reviewed-on: https://gerrit.libreoffice.org/2703 Reviewed-by: Fridrich Strba Tested-by: Fridrich Strba --- cui/source/dialogs/SpellDialog.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cui/source/dialogs/SpellDialog.cxx') diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index f098a287a217..dcae0d63ee21 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -1897,10 +1897,10 @@ svx::SpellPortions SentenceEditWindow_Impl::CreateSpellPortions( bool bSetIgnore sal_uLong nPara = pTextEngine->GetParagraphCount(); if (nPara > 1) { - String aLeftOverText; + OUString aLeftOverText; for (sal_uLong i = 1; i < nPara; ++i) { - aLeftOverText.AppendAscii( "\x0a" ); // the manual line break... + aLeftOverText += "\x0a"; // the manual line break... aLeftOverText += pTextEngine->GetText(i); } if (pError) -- cgit