summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-09 22:36:14 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-10 10:09:29 +0000
commite2f062ef7fdf80d9189b19cb396814976c73bf78 (patch)
tree31a65904ceb5e88c42ea936029e4fecf8d5eb8b2 /sc/source/ui/docshell
parentb2b318cca726630486dfcad442ba61499c3c7c12 (diff)
force users of horrific ReadUniOrByteStringLine to provide the charset
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r--sc/source/ui/docshell/impex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx
index f53ded435f8e..a10ab3906e1a 100644
--- a/sc/source/ui/docshell/impex.cxx
+++ b/sc/source/ui/docshell/impex.cxx
@@ -788,7 +788,7 @@ sal_Bool ScImportExport::Text2Doc( SvStream& rStrm )
rStrm.Seek( nOldPos );
for( ;; )
{
- rStrm.ReadUniOrByteStringLine( aLine );
+ rStrm.ReadUniOrByteStringLine( aLine, rStrm.GetStreamCharSet() );
if( rStrm.IsEof() )
break;
SCCOL nCol = nStartCol;