summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/dif/difimp.cxx4
-rw-r--r--sc/source/ui/docshell/impex.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/dif/difimp.cxx b/sc/source/filter/dif/difimp.cxx
index 1ccc42b4b54a..19189a19e807 100644
--- a/sc/source/filter/dif/difimp.cxx
+++ b/sc/source/filter/dif/difimp.cxx
@@ -452,7 +452,7 @@ bool DifParser::ReadNextLine( String& rStr )
{
if( aLookAheadLine.Len() == 0 )
{
- return rIn.ReadUniOrByteStringLine( rStr );
+ return rIn.ReadUniOrByteStringLine( rStr, rIn.GetStreamCharSet() );
}
else
{
@@ -470,7 +470,7 @@ bool DifParser::LookAhead()
bool bValidStructure = false;
OSL_ENSURE( aLookAheadLine.Len() == 0, "*DifParser::LookAhead(): LookAhead called twice in a row" );
- rIn.ReadUniOrByteStringLine( aLookAheadLine );
+ rIn.ReadUniOrByteStringLine( aLookAheadLine, rIn.GetStreamCharSet() );
pAktBuffer = aLookAheadLine.GetBuffer();
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;