summaryrefslogtreecommitdiff
path: root/sw/source/filter/ascii/ascatr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ascii/ascatr.cxx')
-rw-r--r--sw/source/filter/ascii/ascatr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ascii/ascatr.cxx b/sw/source/filter/ascii/ascatr.cxx
index 91507a698928..ddcc22637923 100644
--- a/sw/source/filter/ascii/ascatr.cxx
+++ b/sw/source/filter/ascii/ascatr.cxx
@@ -312,14 +312,14 @@ static Writer& OutASC_SwTextNode( Writer& rWrt, SwContentNode& rNode )
{
if (nNextAttr <= curRedline.first)
{
- buf.append(aStr, nStrPos, nNextAttr - nStrPos);
+ buf.append(aStr.copy(nStrPos, nNextAttr - nStrPos));
break;
}
else if (nStrPos < curRedline.second)
{
if (nStrPos < curRedline.first)
{
- buf.append(aStr, nStrPos, curRedline.first - nStrPos);
+ buf.append(aStr.copy(nStrPos, curRedline.first - nStrPos));
}
if (curRedline.second <= nNextAttr)
{