diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-01 21:02:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-01 21:02:44 +0000 |
commit | 0a599225bcfc8682a7cc7f68dd3901d9791522b1 (patch) | |
tree | 10eabb0dac74f0cacd9be2f7a43fd90d3201b0e6 | |
parent | 8332bc39f507b659b07fe01a31164c0805175dd6 (diff) |
noone cares about the return from ReadGraphic
Change-Id: Ifd86dee6f2657155faaa31a229feb16178d89f34
-rw-r--r-- | include/vcl/graph.hxx | 2 | ||||
-rw-r--r-- | vcl/source/gdi/graph.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/graph.hxx b/include/vcl/graph.hxx index f75b843c1d21..1f338eae80ff 100644 --- a/include/vcl/graph.hxx +++ b/include/vcl/graph.hxx @@ -213,7 +213,7 @@ public: bool ExportNative( SvStream& rOStream ) const; friend VCL_DLLPUBLIC SvStream& WriteGraphic( SvStream& rOStream, const Graphic& rGraphic ); - friend VCL_DLLPUBLIC SvStream& ReadGraphic( SvStream& rIStream, Graphic& rGraphic ); + friend VCL_DLLPUBLIC void ReadGraphic( SvStream& rIStream, Graphic& rGraphic ); public: diff --git a/vcl/source/gdi/graph.cxx b/vcl/source/gdi/graph.cxx index db4f1a7d0363..23366482b575 100644 --- a/vcl/source/gdi/graph.cxx +++ b/vcl/source/gdi/graph.cxx @@ -569,10 +569,10 @@ bool Graphic::ExportNative( SvStream& rOStream ) const return mxImpGraphic->ImplExportNative( rOStream ); } -SvStream& ReadGraphic( SvStream& rIStream, Graphic& rGraphic ) +void ReadGraphic(SvStream& rIStream, Graphic& rGraphic) { rGraphic.ImplTestRefCount(); - return ReadImpGraphic(rIStream, *rGraphic.mxImpGraphic); + ReadImpGraphic(rIStream, *rGraphic.mxImpGraphic); } SvStream& WriteGraphic( SvStream& rOStream, const Graphic& rGraphic ) |