[Libreoffice-commits] .: binfilter/bf_sw

Caolán McNamara caolan at kemper.freedesktop.org
Sat Nov 20 13:39:15 PST 2010


 binfilter/bf_sw/source/filter/excel/sw_exctools.cxx |  116 ++++++++++----------
 1 file changed, 60 insertions(+), 56 deletions(-)

New commits:
commit e66dab76f49f13cae2f9698faa655ce97c9ed2dc
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Nov 20 21:09:35 2010 +0000

    drop some low-hanging warnings

diff --git a/binfilter/bf_sw/source/filter/excel/sw_exctools.cxx b/binfilter/bf_sw/source/filter/excel/sw_exctools.cxx
index 6e85839..9131b6b 100644
--- a/binfilter/bf_sw/source/filter/excel/sw_exctools.cxx
+++ b/binfilter/bf_sw/source/filter/excel/sw_exctools.cxx
@@ -941,6 +941,8 @@ void XF_Buffer::CreateItemSets( UINT16 nIndex )
             pTxtAttr->Put( aAttr );
             }
             break;
+        default:
+            break;
         }
 
 /* FOR FUTURE USE
@@ -1071,6 +1073,8 @@ void XF_Buffer::CreateItemSets( UINT16 nIndex )
 //		case EHA_CentAcrSel:
 //			eAdjust = SVX_ADJUST_LEFT;
 //			break;
+        default:
+            break;
         }
     pTxtAttr->Put( SvxAdjustItem( eAdjust ) );
     }
@@ -1241,62 +1245,62 @@ const SvxColorItem *ColorBuffer::GetColor( UINT16 nIndex )
             if( nIndex < DefColorSize )
             {							// ... aber innerhalb der Defaults
                 static BYTE __READONLY_DATA pDefArray[ DefColorSize ][ 3 ] = {
-                    0x00, 0x00, 0x00,
-                    0xff, 0xff, 0xff,
-                    0xff, 0x00, 0x00,
-                    0x00, 0xff, 0x00,
-                    0x00, 0x00, 0xff,
-                    0xff, 0xff, 0x00,
-                    0xff, 0x00, 0xff,
-                    0x00, 0xff, 0xff,
-                    0x80, 0x00, 0x00,
-                    0x00, 0x80, 0x00,
-                    0x00, 0x00, 0x80,
-                    0x80, 0x80, 0x00,
-                    0x80, 0x00, 0x80,
-                    0x00, 0x80, 0x80,
-                    0xc0, 0xc0, 0xc0,
-                    0x80, 0x80, 0x80,
-                    0x80, 0x80, 0xff,
-                    0x80, 0x20, 0x60,
-                    0xff, 0xff, 0xc0,
-                    0xa0, 0xe0, 0xe0,
-                    0x60, 0x00, 0x80,
-                    0xff, 0x80, 0x80,
-                    0x00, 0x80, 0xc0,
-                    0xc0, 0xc0, 0xff,
-                    0x00, 0x00, 0x80,
-                    0xff, 0x00, 0xff,
-                    0xff, 0xff, 0x00,
-                    0x00, 0xff, 0xff,
-                    0x80, 0x00, 0x80,
-                    0x80, 0x00, 0x00,
-                    0x00, 0x80, 0x80,
-                    0x00, 0x00, 0xff,
-                    0x00, 0xcf, 0xff,
-                    0x69, 0xff, 0xff,
-                    0xe0, 0xff, 0xe0,
-                    0xff, 0xff, 0x80,
-                    0xa6, 0xca, 0xf0,
-                    0xdd, 0x9c, 0xb3,
-                    0xb3, 0x8f, 0xee,
-                    0xe3, 0xe3, 0xe3,
-                    0x2a, 0x6f, 0xf9,
-                    0x3f, 0xb8, 0xcd,
-                    0x48, 0x84, 0x36,
-                    0x95, 0x8c, 0x41,
-                    0x8e, 0x5e, 0x42,
-                    0xa0, 0x62, 0x7a,
-                    0x62, 0x4f, 0xac,
-                    0x96, 0x96, 0x96,
-                    0x1d, 0x2f, 0xbe,
-                    0x28, 0x66, 0x76,
-                    0x00, 0x45, 0x00,
-                    0x45, 0x3e, 0x01,
-                    0x6a, 0x28, 0x13,
-                    0x85, 0x39, 0x6a,
-                    0x4a, 0x32, 0x85,
-                    0x42, 0x42, 0x42
+                    { 0x00, 0x00, 0x00 },
+                    { 0xff, 0xff, 0xff },
+                    { 0xff, 0x00, 0x00 },
+                    { 0x00, 0xff, 0x00 },
+                    { 0x00, 0x00, 0xff },
+                    { 0xff, 0xff, 0x00 },
+                    { 0xff, 0x00, 0xff },
+                    { 0x00, 0xff, 0xff },
+                    { 0x80, 0x00, 0x00 },
+                    { 0x00, 0x80, 0x00 },
+                    { 0x00, 0x00, 0x80 },
+                    { 0x80, 0x80, 0x00 },
+                    { 0x80, 0x00, 0x80 },
+                    { 0x00, 0x80, 0x80 },
+                    { 0xc0, 0xc0, 0xc0 },
+                    { 0x80, 0x80, 0x80 },
+                    { 0x80, 0x80, 0xff },
+                    { 0x80, 0x20, 0x60 },
+                    { 0xff, 0xff, 0xc0 },
+                    { 0xa0, 0xe0, 0xe0 },
+                    { 0x60, 0x00, 0x80 },
+                    { 0xff, 0x80, 0x80 },
+                    { 0x00, 0x80, 0xc0 },
+                    { 0xc0, 0xc0, 0xff },
+                    { 0x00, 0x00, 0x80 },
+                    { 0xff, 0x00, 0xff },
+                    { 0xff, 0xff, 0x00 },
+                    { 0x00, 0xff, 0xff },
+                    { 0x80, 0x00, 0x80 },
+                    { 0x80, 0x00, 0x00 },
+                    { 0x00, 0x80, 0x80 },
+                    { 0x00, 0x00, 0xff },
+                    { 0x00, 0xcf, 0xff },
+                    { 0x69, 0xff, 0xff },
+                    { 0xe0, 0xff, 0xe0 },
+                    { 0xff, 0xff, 0x80 },
+                    { 0xa6, 0xca, 0xf0 },
+                    { 0xdd, 0x9c, 0xb3 },
+                    { 0xb3, 0x8f, 0xee },
+                    { 0xe3, 0xe3, 0xe3 },
+                    { 0x2a, 0x6f, 0xf9 },
+                    { 0x3f, 0xb8, 0xcd },
+                    { 0x48, 0x84, 0x36 },
+                    { 0x95, 0x8c, 0x41 },
+                    { 0x8e, 0x5e, 0x42 },
+                    { 0xa0, 0x62, 0x7a },
+                    { 0x62, 0x4f, 0xac },
+                    { 0x96, 0x96, 0x96 },
+                    { 0x1d, 0x2f, 0xbe },
+                    { 0x28, 0x66, 0x76 },
+                    { 0x00, 0x45, 0x00 },
+                    { 0x45, 0x3e, 0x01 },
+                    { 0x6a, 0x28, 0x13 },
+                    { 0x85, 0x39, 0x6a },
+                    { 0x4a, 0x32, 0x85 },
+                    { 0x42, 0x42, 0x42 }
                     };
 
                 pArray[ nIndex ] = new SvxColorItem( Color(


More information about the Libreoffice-commits mailing list