summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/flycnt.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-18 14:09:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-19 07:58:15 +0200
commite61e4e56994c22221dcc0e9f4c2cb62fd63ac823 (patch)
treed38359c4e9a3de7112075244d7013907ce135d4f /sw/source/core/layout/flycnt.cxx
parentba80f637b82ef5df7c650ec301ca9ebb5f678f44 (diff)
clang-tidy readability-misleading-indentation
Change-Id: I4673fc7c694924b41d048a1918ddb8b0e0af1f79 Reviewed-on: https://gerrit.libreoffice.org/61935 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/flycnt.cxx')
-rw-r--r--sw/source/core/layout/flycnt.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx
index 7f9b462159f6..9163098fee18 100644
--- a/sw/source/core/layout/flycnt.cxx
+++ b/sw/source/core/layout/flycnt.cxx
@@ -675,13 +675,13 @@ static const SwFrame * lcl_CalcDownDist( SwDistance &rRet,
nPrtHeight = pLay->getFrameArea().Left() + pLay->getFramePrintArea().Left()
+ pLay->getFramePrintArea().Width() - pSect->getFrameArea().Left()
- pSect->getFrameArea().Width();
- }
- else
- {
- nFrameTop = pSect->getFrameArea().Left();
- nPrtHeight = pSect->getFrameArea().Left() - pLay->getFrameArea().Left()
+ }
+ else
+ {
+ nFrameTop = pSect->getFrameArea().Left();
+ nPrtHeight = pSect->getFrameArea().Left() - pLay->getFrameArea().Left()
- pLay->getFramePrintArea().Left();
- }
+ }
}
else
{