]> git.lyx.org Git - features.git/commitdiff
Add comment fixing coverity #23351.
authorRichard Heck <rgheck@lyx.org>
Sun, 12 Jun 2016 03:01:21 +0000 (23:01 -0400)
committerRichard Heck <rgheck@lyx.org>
Sun, 12 Jun 2016 03:09:30 +0000 (23:09 -0400)
src/frontends/qt4/GuiWorkArea.cpp

index a18294e5af2aa9b3d87e193d64bbfdf51fc1e715..4f63d16cc0f9fb61ea8175c8082cc314e8e8781f 100644 (file)
@@ -1981,6 +1981,8 @@ void TabWorkArea::updateTabTexts()
                        // that it makes the path more unique.
                        somethingChanged = true;
                        It sit = segStart;
+                       // this is ok for the reason mentioned  in the previous comment.
+                       // coverity[INVALIDATE_ITERATOR]
                        QString dspString = sit->forecastPathString();
                        LYXERR(Debug::GUI, "first forecast found for "
                               << sit->abs() << " => " << dspString);