this farcical staroffice 5.0 related junk can at least be const

Change-Id: I096d98f6e0cb61cacd9cd82a623f832b88ded1e6
This commit is contained in:
Caolán McNamara 2015-08-27 11:58:47 +01:00
parent 38fd9cf3b4
commit 1e8b7cdbbd
2 changed files with 2 additions and 2 deletions

View File

@ -201,7 +201,7 @@ public:
}
SvStream& Read(SvStream& rIStream, bool bNewFormat = true);
SvStream& Write(SvStream& rOStream, bool bNewFormat = true);
SvStream& Write(SvStream& rOStream, bool bNewFormat = true) const;
TOOLS_DLLPUBLIC friend SvStream& ReadColor(SvStream& rIStream, Color& rColor);
TOOLS_DLLPUBLIC friend SvStream& WriteColor(SvStream& rOStream, const Color& rColor);

View File

@ -227,7 +227,7 @@ SvStream& Color::Read( SvStream& rIStm, bool bNewFormat )
return rIStm;
}
SvStream& Color::Write( SvStream& rOStm, bool bNewFormat )
SvStream& Color::Write( SvStream& rOStm, bool bNewFormat ) const
{
if ( bNewFormat )
rOStm.WriteUInt32( mnColor );