[Libreoffice-commits] core.git: tools/source

Caolán McNamara caolanm at redhat.com
Fri Nov 20 03:54:43 PST 2015


 tools/source/generic/color.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 8aa7394dfbffcadd3aa528544027af801ad3d4b6
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 19 21:09:21 2015 +0000

    don't warn on Color streaming missing Solar Version
    
    Change-Id: I47e6a21fde77028c7a717b095883497888806501

diff --git a/tools/source/generic/color.cxx b/tools/source/generic/color.cxx
index e85cf9d..7692d01 100644
--- a/tools/source/generic/color.cxx
+++ b/tools/source/generic/color.cxx
@@ -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();


More information about the Libreoffice-commits mailing list