Kaydet (Commit) 1e8b7cdb authored tarafından Caolán McNamara's avatar Caolán McNamara

this farcical staroffice 5.0 related junk can at least be const

Change-Id: I096d98f6e0cb61cacd9cd82a623f832b88ded1e6
üst 38fd9cf3
...@@ -201,7 +201,7 @@ public: ...@@ -201,7 +201,7 @@ public:
} }
SvStream& Read(SvStream& rIStream, bool bNewFormat = true); 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& ReadColor(SvStream& rIStream, Color& rColor);
TOOLS_DLLPUBLIC friend SvStream& WriteColor(SvStream& rOStream, const Color& rColor); TOOLS_DLLPUBLIC friend SvStream& WriteColor(SvStream& rOStream, const Color& rColor);
......
...@@ -227,7 +227,7 @@ SvStream& Color::Read( SvStream& rIStm, bool bNewFormat ) ...@@ -227,7 +227,7 @@ SvStream& Color::Read( SvStream& rIStm, bool bNewFormat )
return rIStm; return rIStm;
} }
SvStream& Color::Write( SvStream& rOStm, bool bNewFormat ) SvStream& Color::Write( SvStream& rOStm, bool bNewFormat ) const
{ {
if ( bNewFormat ) if ( bNewFormat )
rOStm.WriteUInt32( mnColor ); rOStm.WriteUInt32( mnColor );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment