summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-13 23:24:50 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-16 10:21:55 +0000
commit4abfd463edd482389d83d75fe223a4a26aed7cb1 (patch)
treecb2930a37b98195ece54d77c6b19b6eb393fffbf /editeng
parent9d4d7272507c6a9c7ede239df9243103fce46dbf (diff)
force users of WriteByteStringLine to explictly denote encoding
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index 54deb88c3f94..f76b0ca914c5 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -270,7 +270,7 @@ sal_uInt32 ImpEditEngine::WriteText( SvStream& rOutput, EditSelection aSel )
nEndPos = aSel.Max().GetIndex();
}
XubString aTmpStr = aEditDoc.GetParaAsString( pNode, nStartPos, nEndPos );
- rOutput.WriteByteStringLine( aTmpStr );
+ rOutput.WriteByteStringLine( aTmpStr, rOutput.GetStreamCharSet() );
}
return rOutput.GetError();