sw/source/core/text/txtfrm.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
New commits: commit 751308c234f78cc3ff3a282cef4be9747def59ec Author: Michael Stahl <michael.st...@cib.de> Date: Sat Jun 9 19:14:56 2018 +0200 coverity#1436017 DEADCODE Ass-umption is that nLen == 0 requires no changes here. Change-Id: I9af1110aed7998fdf0247c1fa8473f0180e8774e diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx index 52f5139cebb5..9ea7968f402a 100644 --- a/sw/source/core/text/txtfrm.cxx +++ b/sw/source/core/text/txtfrm.cxx @@ -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) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits