summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2018-10-20 14:29:12 +0200
committerCaolán McNamara <caolanm@redhat.com>2018-10-21 18:19:49 +0200
commita2a35b3df0858f77db15929fa087f1d712cc22e1 (patch)
tree0d1552a2a86ad467265b505e96523ab972bdd2d6 /drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx
parente4dc1d1a73f17f56e239a39f533f2b7c90129a46 (diff)
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 <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx2
1 files changed, 1 insertions, 1 deletions
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())
{