summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/graph.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/gdi/graph.cxx')
-rw-r--r--vcl/source/gdi/graph.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/graph.cxx b/vcl/source/gdi/graph.cxx
index afa17a3aff5f..20b1b090464c 100644
--- a/vcl/source/gdi/graph.cxx
+++ b/vcl/source/gdi/graph.cxx
@@ -306,7 +306,7 @@ sal_Bool Graphic::operator!() const
void Graphic::Load( SvStream& rIStm )
{
- rIStm >> *this;
+ ReadGraphic( rIStm, *this );
}
void Graphic::Save( SvStream& rOStm )
@@ -571,10 +571,10 @@ sal_Bool Graphic::ExportNative( SvStream& rOStream ) const
return mpImpGraphic->ImplExportNative( rOStream );
}
-SvStream& operator>>( SvStream& rIStream, Graphic& rGraphic )
+SvStream& ReadGraphic( SvStream& rIStream, Graphic& rGraphic )
{
rGraphic.ImplTestRefCount();
- return rIStream >> *rGraphic.mpImpGraphic;
+ return ReadImpGraphic( rIStream, *rGraphic.mpImpGraphic );
}
SvStream& WriteGraphic( SvStream& rOStream, const Graphic& rGraphic )