diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-08-27 11:58:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-08-27 11:59:21 +0100 |
commit | 1e8b7cdbbd084a1e75f82bfff605321c8480b78d (patch) | |
tree | b24565d31f1075cef3cd4a988388b52a34168b75 | |
parent | 38fd9cf3b4edbec6a324d975a4a2b29f2b276802 (diff) |
this farcical staroffice 5.0 related junk can at least be const
Change-Id: I096d98f6e0cb61cacd9cd82a623f832b88ded1e6
-rw-r--r-- | include/tools/color.hxx | 2 | ||||
-rw-r--r-- | tools/source/generic/color.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/color.hxx b/include/tools/color.hxx index 00c89e2e5e89..0451a6912251 100644 --- a/include/tools/color.hxx +++ b/include/tools/color.hxx @@ -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); diff --git a/tools/source/generic/color.cxx b/tools/source/generic/color.cxx index 87185b85ccb1..6d7ebaff092c 100644 --- a/tools/source/generic/color.cxx +++ b/tools/source/generic/color.cxx @@ -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 ); |