summaryrefslogtreecommitdiff
path: root/sd/source/filter/eppt/pptexsoundcollection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/eppt/pptexsoundcollection.cxx')
-rw-r--r--sd/source/filter/eppt/pptexsoundcollection.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/eppt/pptexsoundcollection.cxx b/sd/source/filter/eppt/pptexsoundcollection.cxx
index f7d8c160d860..5475c5ea175c 100644
--- a/sd/source/filter/eppt/pptexsoundcollection.cxx
+++ b/sd/source/filter/eppt/pptexsoundcollection.cxx
@@ -134,8 +134,8 @@ void ExSoundEntry::Write( SvStream& rSt, sal_uInt32 nId ) const
while ( nBytesLeft )
{
sal_uInt32 nToDo = ( nBytesLeft > 0x10000 ) ? 0x10000 : nBytesLeft;
- pSourceFile->Read( pBuf, nToDo );
- rSt.Write( pBuf, nToDo );
+ pSourceFile->ReadBytes(pBuf, nToDo);
+ rSt.WriteBytes(pBuf, nToDo);
nBytesLeft -= nToDo;
}
delete pSourceFile;