[Libreoffice-commits] core.git: svx/source
Jan Holesovsky
kendy at collabora.com
Fri Feb 28 01:11:22 PST 2014
svx/source/sidebar/tools/ColorControl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cd56e54df1df9c9e1a455f81bd86457f1d832604
Author: Jan Holesovsky <kendy at collabora.com>
Date: Fri Feb 28 10:09:48 2014 +0100
I guess const was intended here.
Change-Id: Iba157cca516add9403e8eace64430ed7008f4f2c
diff --git a/svx/source/sidebar/tools/ColorControl.cxx b/svx/source/sidebar/tools/ColorControl.cxx
index 0ca0f3c..684c5c2 100644
--- a/svx/source/sidebar/tools/ColorControl.cxx
+++ b/svx/source/sidebar/tools/ColorControl.cxx
@@ -136,7 +136,7 @@ void ColorControl::FillColors (void)
const Size aNewSize(maVSColor.layoutAllVisible(nColorCount));
maVSColor.SetOutputSizePixel(aNewSize);
- static sal_Int32 nAdd = 4;
+ const sal_Int32 nAdd = 4;
SetOutputSizePixel(Size(aNewSize.Width() + nAdd, aNewSize.Height() + nAdd));
Link aLink = LINK(this, ColorControl, VSSelectHdl);
More information about the Libreoffice-commits
mailing list