summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/ww8par2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/ww8/ww8par2.cxx')
-rw-r--r--sw/source/filter/ww8/ww8par2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 2259939b0e5f..77c9d319e446 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -3591,7 +3591,7 @@ void WW8RStyle::ImportSprms(sal_Size nPosFc, short nLen, bool bPap)
if (checkSeek(*pStStrm, nPosFc))
{
sal_uInt8 *pSprms = new sal_uInt8[nLen];
- nLen = pStStrm->Read(pSprms, nLen);
+ nLen = pStStrm->ReadBytes(pSprms, nLen);
ImportSprms(pSprms, nLen, bPap);
delete[] pSprms;
}
@@ -3602,7 +3602,7 @@ static inline short WW8SkipOdd(SvStream* pSt )
if ( pSt->Tell() & 0x1 )
{
sal_uInt8 c;
- return pSt->Read( &c, 1 );
+ return pSt->ReadBytes( &c, 1 );
}
return 0;
}
@@ -3612,7 +3612,7 @@ static inline short WW8SkipEven(SvStream* pSt )
if (!(pSt->Tell() & 0x1))
{
sal_uInt8 c;
- return pSt->Read( &c, 1 );
+ return pSt->ReadBytes( &c, 1 );
}
return 0;
}