diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-08 06:13:23 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-12 08:53:24 +0100 |
commit | 8b5c1890f3c0c9f7f44c5e6c9a432c652f3938b3 (patch) | |
tree | 2692d7f970b263185a69bd2c703c1d4e0d2ef6d0 /vcl | |
parent | WaE: cast to pointer from integer of different size (diff) | |
download | core-8b5c1890f3c0c9f7f44c5e6c9a432c652f3938b3.tar.gz core-8b5c1890f3c0c9f7f44c5e6c9a432c652f3938b3.zip |
WaE: missing braces around initializer for 'BYTE [8]'
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/gdi/salgdi.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/vcl/win/source/gdi/salgdi.cxx b/vcl/win/source/gdi/salgdi.cxx index 7cbaf58b40a9..dc51fa5a609f 100644 --- a/vcl/win/source/gdi/salgdi.cxx +++ b/vcl/win/source/gdi/salgdi.cxx @@ -108,28 +108,28 @@ static PALETTEENTRY aImplSalSysPalEntryAry[ DITHER_MAX_SYSCOLOR ] = static BYTE aOrdDither8Bit[8][8] = { - 0, 38, 9, 48, 2, 40, 12, 50, - 25, 12, 35, 22, 28, 15, 37, 24, - 6, 44, 3, 41, 8, 47, 5, 44, - 32, 19, 28, 16, 34, 21, 31, 18, - 1, 40, 11, 49, 0, 39, 10, 48, - 27, 14, 36, 24, 26, 13, 36, 23, - 8, 46, 4, 43, 7, 45, 4, 42, - 33, 20, 30, 17, 32, 20, 29, 16 + { 0, 38, 9, 48, 2, 40, 12, 50 }, + { 25, 12, 35, 22, 28, 15, 37, 24 }, + { 6, 44, 3, 41, 8, 47, 5, 44 }, + { 32, 19, 28, 16, 34, 21, 31, 18 }, + { 1, 40, 11, 49, 0, 39, 10, 48 }, + { 27, 14, 36, 24, 26, 13, 36, 23 }, + { 8, 46, 4, 43, 7, 45, 4, 42 }, + { 33, 20, 30, 17, 32, 20, 29, 16 } }; // ----------------------------------------------------------------------------- static BYTE aOrdDither16Bit[8][8] = { - 0, 6, 1, 7, 0, 6, 1, 7, - 4, 2, 5, 3, 4, 2, 5, 3, - 1, 7, 0, 6, 1, 7, 0, 6, - 5, 3, 4, 2, 5, 3, 4, 2, - 0, 6, 1, 7, 0, 6, 1, 7, - 4, 2, 5, 3, 4, 2, 5, 3, - 1, 7, 0, 6, 1, 7, 0, 6, - 5, 3, 4, 2, 5, 3, 4, 2 + { 0, 6, 1, 7, 0, 6, 1, 7 }, + { 4, 2, 5, 3, 4, 2, 5, 3 }, + { 1, 7, 0, 6, 1, 7, 0, 6 }, + { 5, 3, 4, 2, 5, 3, 4, 2 }, + { 0, 6, 1, 7, 0, 6, 1, 7 }, + { 4, 2, 5, 3, 4, 2, 5, 3 }, + { 1, 7, 0, 6, 1, 7, 0, 6 }, + { 5, 3, 4, 2, 5, 3, 4, 2 } }; // ======================================================================= |