summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-11-03 19:58:20 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2015-11-03 20:05:38 +0900
commit8f5748e29ee46315323a38d14af61c4f4e9f8fdf (patch)
tree71e513a615af5cca55681f4b3cb36e2e451a7b3e
parent0e17dd5810b393b69d7f84bc4529186c98c94caf (diff)
vcl: Mark it as const
Change-Id: I0ddaf1cf9d0a3f36f88bea3101b7059e04d755ff
-rw-r--r--vcl/source/window/decoview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/decoview.cxx b/vcl/source/window/decoview.cxx
index 3ef2bc95bf40..376c7bf2bb4e 100644
--- a/vcl/source/window/decoview.cxx
+++ b/vcl/source/window/decoview.cxx
@@ -1101,7 +1101,7 @@ void DecorationView::DrawHandle(const Rectangle& rRect, bool bVertical)
mpOutDev->SetLineColor(rStyleSettings.GetDarkShadowColor());
mpOutDev->SetFillColor(rStyleSettings.GetDarkShadowColor());
- sal_Int32 nNumberOfPoints = 3;
+ const sal_Int32 nNumberOfPoints = 3;
long nHalfWidth = aOutputSize.Width() / 2.0f;
long nHalfHeight = aOutputSize.Height() / 2.0f;