summaryrefslogtreecommitdiff
path: root/svx/source/core
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/core')
-rw-r--r--svx/source/core/graphichelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/core/graphichelper.cxx b/svx/source/core/graphichelper.cxx
index 217989f891fd..8cec8a55248f 100644
--- a/svx/source/core/graphichelper.cxx
+++ b/svx/source/core/graphichelper.cxx
@@ -163,7 +163,7 @@ OUString GraphicHelper::ExportGraphic( const Graphic& rGraphic, const OUString&
SfxMedium aOut( sPath, STREAM_WRITE | STREAM_SHARE_DENYNONE);
if( aOut.GetOutStream() && !aOut.GetOutStream()->GetError())
{
- *aOut.GetOutStream() << *aIn.GetInStream();
+ aOut.GetOutStream()->WriteStream( *aIn.GetInStream() );
if ( 0 == aIn.GetError() )
{
aOut.Close();