diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-02-28 10:09:48 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-02-28 10:10:40 +0100 |
commit | cd56e54df1df9c9e1a455f81bd86457f1d832604 (patch) | |
tree | 6809e6751c9d082a47dba345e8ebcca6120b1abc | |
parent | Missing @since tags, and adapt to semantics of posix_memalign (diff) | |
download | core-cd56e54df1df9c9e1a455f81bd86457f1d832604.tar.gz core-cd56e54df1df9c9e1a455f81bd86457f1d832604.zip |
I guess const was intended here.
Change-Id: Iba157cca516add9403e8eace64430ed7008f4f2c
-rw-r--r-- | svx/source/sidebar/tools/ColorControl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/tools/ColorControl.cxx b/svx/source/sidebar/tools/ColorControl.cxx index 0ca0f3c5915a..684c5c281774 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); |