diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-16 14:45:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-17 08:14:31 +0200 |
commit | ff1f6a5fc25db062e9a83521a657062f62f03ba6 (patch) | |
tree | 272dfa9af5ead31b61c1be34afcaf4402ff4ad77 /sw/source/core/objectpositioning | |
parent | 224b770fa77fe12ad5dc543ce020aca316b6558d (diff) |
remove UL/L suffixes from integer constants in initialiser/call expressions
Change-Id: Iae081567c4fa5b88edbd12cf2fbafd2b8f31b300
Reviewed-on: https://gerrit.libreoffice.org/41214
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/objectpositioning')
-rw-r--r-- | sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx | 6 | ||||
-rw-r--r-- | sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx index 023014503d7b..1893feb99a5d 100644 --- a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx +++ b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx @@ -477,7 +477,7 @@ void SwToContentAnchoredObjectPosition::CalcPosition() // #i26791# - local variable <nVertOffsetToFrameAnchorPos> // for determination of the 'vertical' offset to the frame anchor // position - SwTwips nVertOffsetToFrameAnchorPos( 0L ); + SwTwips nVertOffsetToFrameAnchorPos( 0 ); // #i22341# - add special case for vertical alignment // at top of line. if ( mbAnchorToChar && @@ -814,7 +814,7 @@ void SwToContentAnchoredObjectPosition::CalcPosition() } else { - SwTwips nTmpRelPosY( 0L ); + SwTwips nTmpRelPosY( 0 ); if ( aRectFnSet.IsVert() ) nTmpRelPosY = aRelPos.X() - nDist; else @@ -1004,7 +1004,7 @@ void SwToContentAnchoredObjectPosition::CalcPosition() : pOrientFrame; // #i26791# - get 'horizontal' offset to frame anchor position. - SwTwips nHoriOffsetToFrameAnchorPos( 0L ); + SwTwips nHoriOffsetToFrameAnchorPos( 0 ); SwTwips nRelPosX = CalcRelPosX( *pHoriOrientFrame, aEnvOfObj, aHori, rLR, rUL, bWrapThrough, ( aRectFnSet.IsVert() ? aRelPos.X() : aRelPos.Y() ), diff --git a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx index a228cddf6bae..df3ad4686991 100644 --- a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx +++ b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx @@ -80,7 +80,7 @@ void SwToLayoutAnchoredObjectPosition::CalcPosition() eVertOrient = text::VertOrientation::TOP; } // #i26791# - get vertical offset to frame anchor position. - SwTwips nVertOffsetToFrameAnchorPos( 0L ); + SwTwips nVertOffsetToFrameAnchorPos( 0 ); SwTwips nRelPosY = GetVertRelPos( GetAnchorFrame(), GetAnchorFrame(), eVertOrient, aVert.GetRelationOrient(), aVert.GetPos(), |