From d803483f6a5938b0d0708b8db74b30c511dd8e31 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 16 Jan 2014 12:40:11 +0200 Subject: convert more SvStream::operator<< calls .. to more explicit SvStream::Write* calls This was done using another run of the clang rewriter, and then a lot of hand tweaking to fix all the places where the rewriter did not play nice with various macros. Change-Id: I7bcab93851c8dfb59cde6bc76290c6484d88fb18 Reviewed-on: https://gerrit.libreoffice.org/7494 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- svx/source/core/graphichelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/core/graphichelper.cxx') 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(); -- cgit v1.2.3