diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-21 10:13:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-21 12:58:49 +0100 |
commit | 180f2860525fb7ed4892b417b20c3f2f9cbb44e0 (patch) | |
tree | f4c11ab79c1ba022f31944668eae2f20a8f5c808 /sw/source/core/layout/pagechg.cxx | |
parent | Updated core (diff) | |
download | core-180f2860525fb7ed4892b417b20c3f2f9cbb44e0.tar.gz core-180f2860525fb7ed4892b417b20c3f2f9cbb44e0.zip |
loplugin:changetoolsgen in sw
Change-Id: If07efe4c15cfc28df38a9327856d39313ca78d50
Reviewed-on: https://gerrit.libreoffice.org/50078
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/pagechg.cxx')
-rw-r--r-- | sw/source/core/layout/pagechg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx index 6cb4f071d8e6..238f44cc1afb 100644 --- a/sw/source/core/layout/pagechg.cxx +++ b/sw/source/core/layout/pagechg.cxx @@ -1379,7 +1379,7 @@ SwTwips SwRootFrame::GrowFrame( SwTwips nDist, bool bTst, bool ) if ( !bTst ) { SwFrameAreaDefinition::FrameAreaWriteAccess aFrm(*this); - aFrm.SSize().Height() += nDist; + aFrm.SSize().AdjustHeight(nDist ); } return nDist; @@ -1393,7 +1393,7 @@ SwTwips SwRootFrame::ShrinkFrame( SwTwips nDist, bool bTst, bool ) if ( !bTst ) { SwFrameAreaDefinition::FrameAreaWriteAccess aFrm(*this); - aFrm.SSize().Height() -= nDist; + aFrm.SSize().AdjustHeight( -nDist ); } return nDist; |