diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-01-09 21:17:45 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-01-10 10:09:28 +0000 |
commit | 5870f91a86bc26a827dbecdd330c63b9e3a51678 (patch) | |
tree | cc2820532b9c363e2bfea5a8c83984b7dd71293b | |
parent | 3c62fbcdd78e472d3dde604eff33be54cb3e21be (diff) |
we know that the encoding is not UTF-16 here
-rw-r--r-- | sw/source/ui/dbui/createaddresslistdialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/createaddresslistdialog.cxx b/sw/source/ui/dbui/createaddresslistdialog.cxx index 848b91eba95a..9f1ef7702cf5 100644 --- a/sw/source/ui/dbui/createaddresslistdialog.cxx +++ b/sw/source/ui/dbui/createaddresslistdialog.cxx @@ -412,7 +412,7 @@ SwCreateAddressListDialog::SwCreateAddressListDialog( OUString sMiddle(sTempMiddle); String sLine; - sal_Bool bRead = pStream->ReadUniOrByteStringLine( sLine, RTL_TEXTENCODING_UTF8 ); + sal_Bool bRead = pStream->ReadByteStringLine( sLine, RTL_TEXTENCODING_UTF8 ); if(bRead) { @@ -431,7 +431,7 @@ SwCreateAddressListDialog::SwCreateAddressListDialog( } } } - while(pStream->ReadUniOrByteStringLine( sLine, RTL_TEXTENCODING_UTF8 )) + while(pStream->ReadByteStringLine( sLine, RTL_TEXTENCODING_UTF8 )) { ::std::vector<OUString> aNewData; //analyze data line |