summaryrefslogtreecommitdiffstats
path: root/vcl/source/control/spinbtn.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/spinbtn.cxx')
-rw-r--r--vcl/source/control/spinbtn.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/control/spinbtn.cxx b/vcl/source/control/spinbtn.cxx
index b5c388ce54c6..14d9fea61e2c 100644
--- a/vcl/source/control/spinbtn.cxx
+++ b/vcl/source/control/spinbtn.cxx
@@ -102,8 +102,7 @@ void SpinButton::Resize()
Control::Resize();
Size aSize(GetOutputSizePixel());
- Point aTmpPoint;
- tools::Rectangle aRect(aTmpPoint, aSize);
+ tools::Rectangle aRect(Point(), aSize);
if (mbHorz)
{
maLowerRect = tools::Rectangle(0, 0, aSize.Width() / 2, aSize.Height() - 1);