diff options
Diffstat (limited to 'sw/source/uibase/dbui/mailmergehelper.cxx')
-rw-r--r-- | sw/source/uibase/dbui/mailmergehelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/dbui/mailmergehelper.cxx b/sw/source/uibase/dbui/mailmergehelper.cxx index e8d6c36e42be..3ef954f53d4e 100644 --- a/sw/source/uibase/dbui/mailmergehelper.cxx +++ b/sw/source/uibase/dbui/mailmergehelper.cxx @@ -715,7 +715,7 @@ uno::Any SwMailTransferable::getTransferData( const datatransfer::DataFlavor& /* aData.realloc(pStream->Tell()); pStream->Seek(0); sal_Int8 * pData = aData.getArray(); - pStream->Read( pData, aData.getLength() ); + pStream->ReadBytes( pData, aData.getLength() ); } aRet <<= aData; } |