[Libreoffice-commits] core.git: drawinglayer/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Oct 21 16:20:14 UTC 2018
drawinglayer/source/primitive2d/graphicprimitivehelper2d.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a2a35b3df0858f77db15929fa087f1d712cc22e1
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Sat Oct 20 14:29:12 2018 +0200
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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())
{
More information about the Libreoffice-commits
mailing list