summaryrefslogtreecommitdiff
path: root/tools/source/generic/color.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-01-30 13:46:42 +0200
committerMichael Stahl <mstahl@redhat.com>2014-02-04 22:50:39 +0000
commit186b4ebc99a2e80740fee51f9d0276886a003617 (patch)
treea86a4ff5fe3cd36add7053212ef37531540be253 /tools/source/generic/color.cxx
parent95a7e952552adb834f92d1477f83938e7c8d0204 (diff)
convert specialised SvStream::operator>> methods to ReadXXX methods
as preparation for converting the SvStream::operator>> methods on primitive types Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9 Reviewed-on: https://gerrit.libreoffice.org/7798 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'tools/source/generic/color.cxx')
-rw-r--r--tools/source/generic/color.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/source/generic/color.cxx b/tools/source/generic/color.cxx
index 9ed8d618989b..2c3fc5ade570 100644
--- a/tools/source/generic/color.cxx
+++ b/tools/source/generic/color.cxx
@@ -217,7 +217,7 @@ SvStream& Color::Read( SvStream& rIStm, bool bNewFormat )
if ( bNewFormat )
rIStm >> mnColor;
else
- rIStm >> *this;
+ ReadColor( rIStm, *this );
return rIStm;
}
@@ -234,7 +234,7 @@ SvStream& Color::Write( SvStream& rOStm, bool bNewFormat )
#define COL_NAME_USER ((sal_uInt16)0x8000)
-SvStream& operator>>( SvStream& rIStream, Color& rColor )
+SvStream& ReadColor( SvStream& rIStream, Color& rColor )
{
DBG_ASSERTWARNING( rIStream.GetVersion(), "Color::>> - Solar-Version not set on rIStream" );