Kaydet (Commit) 5bbf40fd authored tarafından Jochen Nitschke's avatar Jochen Nitschke Kaydeden (comit) Noel Grandin

cppcheck: uselessAssignmentArg

Change-Id: I230c35a5cf1b660041fb10f6ff81e219cad6a1b1
Reviewed-on: https://gerrit.libreoffice.org/55942
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 44750b1a
......@@ -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 )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment