summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/xpackcreator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/xpackcreator.cxx')
-rw-r--r--sfx2/source/appl/xpackcreator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/xpackcreator.cxx b/sfx2/source/appl/xpackcreator.cxx
index 9e952baf5696..49f34224a443 100644
--- a/sfx2/source/appl/xpackcreator.cxx
+++ b/sfx2/source/appl/xpackcreator.cxx
@@ -102,7 +102,7 @@ void SAL_CALL OPackageStructureCreator::convertToPackage( const OUString& aFolde
if ( aSeq.getLength() < 32000 )
aSeq.realloc( 32000 );
- nRead = pTempStream->Read( aSeq.getArray(), 32000 );
+ nRead = pTempStream->ReadBytes(aSeq.getArray(), 32000);
if ( nRead < 32000 )
aSeq.realloc( nRead );
xTargetStream->writeBytes( aSeq );