Kaydet (Commit) 751308c2 authored tarafından Michael Stahl's avatar Michael Stahl

coverity#1436017 DEADCODE

Ass-umption is that nLen == 0 requires no changes here.

Change-Id: I9af1110aed7998fdf0247c1fa8473f0180e8774e
üst 47cd12eb
......@@ -1630,10 +1630,7 @@ void SwTextFrame::SwClientNotify(SwModify const& rModify, SfxHint const& rHint)
const sal_Int32 m = -nNLen;
if (nLen && IsIdxInside(nPos, nLen))
{
if (!nLen)
InvalidateSize();
else
InvalidateRange( SwCharRange(nPos, TextFrameIndex(1)), m );
InvalidateRange( SwCharRange(nPos, TextFrameIndex(1)), m );
}
lcl_SetWrong( *this, rNode, nNPos, m, true );
if (nLen)
......
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