summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-11-03 19:57:51 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2015-11-03 20:05:38 +0900
commit0e17dd5810b393b69d7f84bc4529186c98c94caf (patch)
tree2b91cd3f77e7f8b7852cb6e3d1016233ca2bbe4f /vcl/source/control
parentc3822aa796616b64b040559c537ee4dcc786f249 (diff)
vcl: Mark them as const
Change-Id: Ia19d3512d156be725840c24d441a3eaa08e83a5e
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;