From e2f062ef7fdf80d9189b19cb396814976c73bf78 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 9 Jan 2012 22:36:14 +0000 Subject: force users of horrific ReadUniOrByteStringLine to provide the charset --- sc/source/ui/docshell/impex.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sc/source/ui/docshell') 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; -- cgit