summaryrefslogtreecommitdiff
path: root/vcl/source/control/fixed.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/control/fixed.cxx')
-rw-r--r--vcl/source/control/fixed.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx
index 8a366a0d69b3..8263e8923056 100644
--- a/vcl/source/control/fixed.cxx
+++ b/vcl/source/control/fixed.cxx
@@ -66,8 +66,7 @@ static Point ImplCalcPos( WinBits nStyle, const Point& rPos,
else
nY = (rWinSize.Height()-rObjSize.Height())/2;
- Point aPos( nX+rPos.X(), nY+rPos.Y() );
- return aPos;
+ return Point(nX + rPos.X(), nY + rPos.Y());
}
void FixedText::ImplInit( vcl::Window* pParent, WinBits nStyle )