summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/ilstbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/control/ilstbox.cxx b/vcl/source/control/ilstbox.cxx
index 92ea38361f31..358fcf2cc93b 100644
--- a/vcl/source/control/ilstbox.cxx
+++ b/vcl/source/control/ilstbox.cxx
@@ -3115,7 +3115,7 @@ void ImplListBoxFloatingWindow::StartFloat( bool bStartTracking )
if( ImplGetSVData()->maNWFData.mbNoFocusRects &&
GetParent()->IsNativeWidgetEnabled() )
{
- sal_Int32 nLeft = 4, nTop = 4, nRight = 4, nBottom = 4;
+ const sal_Int32 nLeft = 4, nTop = 4, nRight = 4, nBottom = 4;
aPos.X() += nLeft;
aPos.Y() += nTop;
aSz.Width() -= nLeft + nRight;