summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/SpellDialog.cxx
diff options
context:
space:
mode:
authorRicardo Montania <ricardo@linuxafundo.com.br>2013-03-13 10:42:57 -0300
committerFridrich Strba <fridrich@documentfoundation.org>2013-03-13 15:11:20 +0000
commit03c1f1732d738f57afee3d69e6a5f18d2eac5934 (patch)
tree688555bf3c76f25ccb13f45801429637bdcf38d6 /cui/source/dialogs/SpellDialog.cxx
parent251200d25c6a53e43aa91055622b931d3b4ed738 (diff)
String::AppendAscii cleanup
Change-Id: If9e57c77d39597db78739a7886d76ee0197f6461 Reviewed-on: https://gerrit.libreoffice.org/2703 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'cui/source/dialogs/SpellDialog.cxx')
-rw-r--r--cui/source/dialogs/SpellDialog.cxx4
1 files changed, 2 insertions, 2 deletions
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)