sw/source/core/text/frmpaint.cxx | 4 ---- 1 file changed, 4 deletions(-)
New commits: commit 5bbf40fde5a6cefaf596c345f8997164dd92932f Author: Jochen Nitschke <j.nitschke+loger...@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.gran...@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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits