summaryrefslogtreecommitdiff
path: root/vcl/source/filter/GraphicNativeTransform.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/filter/GraphicNativeTransform.cxx')
-rw-r--r--vcl/source/filter/GraphicNativeTransform.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/filter/GraphicNativeTransform.cxx b/vcl/source/filter/GraphicNativeTransform.cxx
index aa24bfb50113..fc6143296072 100644
--- a/vcl/source/filter/GraphicNativeTransform.cxx
+++ b/vcl/source/filter/GraphicNativeTransform.cxx
@@ -152,7 +152,7 @@ bool GraphicNativeTransform::rotateJPEG(sal_uInt16 aRotation)
GfxLink aLink = mrGraphic.GetLink();
SvMemoryStream aSourceStream;
- aSourceStream.Write(aLink.GetData(), aLink.GetDataSize());
+ aSourceStream.WriteBytes(aLink.GetData(), aLink.GetDataSize());
aSourceStream.Seek( STREAM_SEEK_TO_BEGIN );
Orientation aOrientation = TOP_LEFT;