summaryrefslogtreecommitdiff
path: root/sot/source/base/filelist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/base/filelist.cxx')
-rw-r--r--sot/source/base/filelist.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sot/source/base/filelist.cxx b/sot/source/base/filelist.cxx
index 9eddbc9eb619..42113063819b 100644
--- a/sot/source/base/filelist.cxx
+++ b/sot/source/base/filelist.cxx
@@ -109,7 +109,7 @@ SvStream& ReadFileList( SvStream& rIStm, FileList& rFileList )
while (!rIStm.IsEof())
{
// read first character of filepath; c==0 > reach end of stream
- rIStm >> c;
+ rIStm.ReadUInt16( c );
if (!c)
break;
@@ -117,7 +117,7 @@ SvStream& ReadFileList( SvStream& rIStm, FileList& rFileList )
while (c && !rIStm.IsEof())
{
sBuf.append((sal_Unicode)c);
- rIStm >> c;
+ rIStm.ReadUInt16( c );
}
// append the filepath