don't warn on Color streaming missing Solar Version

Change-Id: I47e6a21fde77028c7a717b095883497888806501
This commit is contained in:
Caolán McNamara
2015-11-19 21:09:21 +00:00
parent 742da70e6d
commit 8aa7394dfb

View File

@@ -243,8 +243,6 @@ OUString Color::AsRGBHexString() const
SvStream& ReadColor( SvStream& rIStream, Color& rColor )
{
SAL_WARN_IF( !rIStream.GetVersion(), "tools", "Color::>> - Solar-Version not set on rIStream" );
sal_uInt16 nColorName;
rIStream.ReadUInt16( nColorName );
@@ -335,8 +333,6 @@ void Color::ApplyTintOrShade(sal_Int16 n100thPercent)
SvStream& WriteColor( SvStream& rOStream, const Color& rColor )
{
SAL_WARN_IF( !rOStream.GetVersion(), "tools", "Color::<< - Solar-Version not set on rOStream" );
sal_uInt16 nColorName = COL_NAME_USER;
sal_uInt16 nRed = rColor.GetRed();
sal_uInt16 nGreen = rColor.GetGreen();