Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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 <dex@phoenix-ind.net>
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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.