summaryrefslogtreecommitdiff
path: root/editeng/source/accessibility/AccessibleStaticTextBase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/accessibility/AccessibleStaticTextBase.cxx')
-rw-r--r--editeng/source/accessibility/AccessibleStaticTextBase.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/accessibility/AccessibleStaticTextBase.cxx b/editeng/source/accessibility/AccessibleStaticTextBase.cxx
index 048f757542fe..c85cc3c9a589 100644
--- a/editeng/source/accessibility/AccessibleStaticTextBase.cxx
+++ b/editeng/source/accessibility/AccessibleStaticTextBase.cxx
@@ -719,11 +719,11 @@ namespace accessibility
//or at the end of the result string.
if ( bStart )
{
- aRes.insert(0, OUStringLiteral1(cNewLine));
+ aRes.insert(0, OUStringChar(cNewLine));
}
if ( bEnd )
{
- aRes.append(OUStringLiteral1(cNewLine));
+ aRes.append(OUStringChar(cNewLine));
}
return aRes.makeStringAndClear();
}
@@ -859,7 +859,7 @@ namespace accessibility
mpImpl->CorrectTextSegment( aResult, aPos.nPara );
if ( bLineBreak )
{
- aResult.SegmentText = OUStringLiteral1(cNewLine) + aResult.SegmentText;
+ aResult.SegmentText = OUStringChar(cNewLine) + aResult.SegmentText;
}
}