Hi,

This patch series fix make the color palette size consistent everywhere.
Related to bug fdo#34896 (https://bugs.freedesktop.org//show_bug.cgi?id=34896)

It's my first patch for LibreOffice, so don't hesitate to correct me if
something is wrong.

Cheers,
--
Xavier ALT
>From 92dee34f55738f241dc832fcf9b0a8021f82af9c Mon Sep 17 00:00:00 2001
From: Xavier ALT <[email protected]>
Date: Sun, 6 Mar 2011 10:00:50 +0100
Subject: [PATCH] fdo#34896 make color palette size consistent (8x13)

---
 svx/source/tbxctrls/tbcontrl.cxx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 41662cc..14c45e4 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -813,8 +813,8 @@ void SvxFontNameBox_Impl::Select()
 #define WB_NO_DIRECTSELECT      ((WinBits)0x04000000)
 #endif
 
-#define PALETTE_X 10
-#define PALETTE_Y 11
+#define PALETTE_X 8
+#define PALETTE_Y 13
 #define PALETTE_SIZE (PALETTE_X * PALETTE_Y)
 
 SvxColorWindow_Impl::SvxColorWindow_Impl( const OUString&            rCommand,
-- 
1.7.1

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to