summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-13 23:21:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-16 10:21:55 +0000
commit9d4d7272507c6a9c7ede239df9243103fce46dbf (patch)
tree14cb447b4583c11d946c1086ef90f9829ddfb436 /editeng
parentd3bda969c6a126cfa2742b9adba142cb7f316d56 (diff)
force users of ReadByteStringLine to explictly denote encoding
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit4.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index 6bdbba6a0471..54deb88c3f94 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -132,13 +132,13 @@ EditPaM ImpEditEngine::ReadText( SvStream& rInput, EditSelection aSel )
EditPaM aPaM = aSel.Max();
XubString aTmpStr, aStr;
- sal_Bool bDone = rInput.ReadByteStringLine( aTmpStr );
+ sal_Bool bDone = rInput.ReadByteStringLine( aTmpStr, rInput.GetStreamCharSet() );
while ( bDone )
{
aTmpStr.Erase( MAXCHARSINPARA );
aPaM = ImpInsertText( EditSelection( aPaM, aPaM ), aTmpStr );
aPaM = ImpInsertParaBreak( aPaM );
- bDone = rInput.ReadByteStringLine( aTmpStr );
+ bDone = rInput.ReadByteStringLine( aTmpStr, rInput.GetStreamCharSet() );
}
return aPaM;
}