From 7554ec519c49782614f474109e1962dfbb392e95 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 10 Jul 2019 08:39:11 +0200 Subject: make tools::Rectangle::AdjustBottom respect empty state and make non-inline so it is easy to disable this for debugging, if need be Change-Id: I9a3f7a0356ab625681419f74af0b9884624f3642 Reviewed-on: https://gerrit.libreoffice.org/75336 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/tools/gen.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/tools/gen.hxx') diff --git a/include/tools/gen.hxx b/include/tools/gen.hxx index e29726a5e305..ebe44840d964 100644 --- a/include/tools/gen.hxx +++ b/include/tools/gen.hxx @@ -411,7 +411,7 @@ public: long AdjustLeft( long nHorzMoveDelta ) { nLeft += nHorzMoveDelta; return nLeft; } long AdjustRight( long nHorzMoveDelta ); long AdjustTop( long nVertMoveDelta ) { nTop += nVertMoveDelta; return nTop; } - long AdjustBottom( long nVertMoveDelta ) { nBottom += nVertMoveDelta; return nBottom; } + long AdjustBottom( long nVertMoveDelta ); inline void SetPos( const Point& rPoint ); void SetSize( const Size& rSize ); inline Size GetSize() const; -- cgit