[Libreoffice-commits] core.git: sw/source
Jochen Nitschke
j.nitschke+logerrit at ok.de
Sun Jun 17 10:10:06 UTC 2018
sw/source/core/text/frmpaint.cxx | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit 5bbf40fde5a6cefaf596c345f8997164dd92932f
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date: Sun Jun 17 10:57:55 2018 +0200
cppcheck: uselessAssignmentArg
Change-Id: I230c35a5cf1b660041fb10f6ff81e219cad6a1b1
Reviewed-on: https://gerrit.libreoffice.org/55942
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx
index 8da2bd271369..4d2adf502528 100644
--- a/sw/source/core/text/frmpaint.cxx
+++ b/sw/source/core/text/frmpaint.cxx
@@ -152,15 +152,11 @@ SwExtraPainter::SwExtraPainter( const SwTextFrame *pFrame, SwViewShell *pVwSh,
{
bGoLeft = true;
nX -= rLineInf.GetPosFromLeft();
- if( nX < aRect.Left() )
- bLineNum = false;
}
else
{
bGoLeft = false;
nX += pFrame->getFrameArea().Width() + rLineInf.GetPosFromLeft();
- if( nX > aRect.Right() )
- bLineNum = false;
}
}
if( eHor != text::HoriOrientation::NONE )
More information about the Libreoffice-commits
mailing list