drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a2a35b3df0858f77db15929fa087f1d712cc22e1 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Sat Oct 20 14:29:12 2018 +0200 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sun Oct 21 18:19:49 2018 +0200 tdf#120703 (PVS): Recurring check. V571 Recurring check. The 'mbBufferingAllowed' condition was already verified in line 177. Change-Id: Iea4c5a64e96ea3f513ce5a63fa3fc1f5062cb7cb Reviewed-on: https://gerrit.libreoffice.org/62072 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx index 9487ddbad0b7..48f22b6a3b6c 100644 --- a/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx +++ b/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx @@ -177,7 +177,7 @@ namespace drawinglayer if (mbBufferingAllowed) { // all frames buffered - if (mbBufferingAllowed && !maBufferedPrimitives.empty() && nIndex < maBufferedPrimitives.size()) + if (!maBufferedPrimitives.empty() && nIndex < maBufferedPrimitives.size()) { if (!maBufferedPrimitives[nIndex].is()) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits