diff options
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/filter/sdpptwrp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/sdpptwrp.cxx b/sd/source/filter/sdpptwrp.cxx index 90f851e69fa4..d44b2fab2580 100644 --- a/sd/source/filter/sdpptwrp.cxx +++ b/sd/source/filter/sdpptwrp.cxx @@ -339,7 +339,7 @@ bool SdPPTFilter::Export() } Sequence<sal_Int8> aStreamContent; aStreamData.Value >>= aStreamContent; - size_t nBytesWritten = pStream->WriteBytes(aStreamContent.getArray(), aStreamContent.getLength()); + size_t nBytesWritten = pStream->WriteBytes(aStreamContent.getConstArray(), aStreamContent.getLength()); if (nBytesWritten != static_cast<size_t>(aStreamContent.getLength())) { bRet = false; |