summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;