diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-21 10:54:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-21 15:31:31 +0200 |
commit | d56439981b82a1b1335d7a62e8066906ca62f767 (patch) | |
tree | 1c0aa304b53d8d52e838d4f83448c559d61f2910 /vcl/source/control/fixed.cxx | |
parent | 42ec7e8831e956ed134af62ac129bc365887fd8c (diff) |
WB_FAST/WB_TOPLEFTVISIBLE are dead
since
commit 2235846149e89dd9fe83cd4fbaf32908983aa571
Date: Tue Nov 23 18:50:48 2010 +0100
vcl117: reduce duplication of enums
Change-Id: Ic34a09ae79c5226e4f07230ac8ec5f528210d988
Reviewed-on: https://gerrit.libreoffice.org/41384
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/control/fixed.cxx')
-rw-r--r-- | vcl/source/control/fixed.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/vcl/source/control/fixed.cxx b/vcl/source/control/fixed.cxx index 23f06b7f03ca..13c69e2edb19 100644 --- a/vcl/source/control/fixed.cxx +++ b/vcl/source/control/fixed.cxx @@ -66,14 +66,6 @@ static Point ImplCalcPos( WinBits nStyle, const Point& rPos, else nY = (rWinSize.Height()-rObjSize.Height())/2; - if ( nStyle & WB_TOPLEFTVISIBLE ) - { - if ( nX < 0 ) - nX = 0; - if ( nY < 0 ) - nY = 0; - } - Point aPos( nX+rPos.X(), nY+rPos.Y() ); return aPos; } |