Kaydet (Commit) cd56e54d authored tarafından Jan Holesovsky's avatar Jan Holesovsky

I guess const was intended here.

Change-Id: Iba157cca516add9403e8eace64430ed7008f4f2c
üst 9dfa4840
...@@ -136,7 +136,7 @@ void ColorControl::FillColors (void) ...@@ -136,7 +136,7 @@ void ColorControl::FillColors (void)
const Size aNewSize(maVSColor.layoutAllVisible(nColorCount)); const Size aNewSize(maVSColor.layoutAllVisible(nColorCount));
maVSColor.SetOutputSizePixel(aNewSize); maVSColor.SetOutputSizePixel(aNewSize);
static sal_Int32 nAdd = 4; const sal_Int32 nAdd = 4;
SetOutputSizePixel(Size(aNewSize.Width() + nAdd, aNewSize.Height() + nAdd)); SetOutputSizePixel(Size(aNewSize.Width() + nAdd, aNewSize.Height() + nAdd));
Link aLink = LINK(this, ColorControl, VSSelectHdl); Link aLink = LINK(this, ColorControl, VSSelectHdl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment