[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Tue Mar 13 15:09:36 UTC 2018
vcl/source/gdi/regionband.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 0679d6375c7ef747dea78b9c49dee78f488c058a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Mar 13 14:04:46 2018 +0000
ofz#6888/forcepoint#27 adjust consistency check
Change-Id: I0d1f04170bcbc08fe30236e2444761d9d71fb1fb
Reviewed-on: https://gerrit.libreoffice.org/51221
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/gdi/regionband.cxx b/vcl/source/gdi/regionband.cxx
index 77eb2f4a7782..0cd74fa869a2 100644
--- a/vcl/source/gdi/regionband.cxx
+++ b/vcl/source/gdi/regionband.cxx
@@ -1163,6 +1163,8 @@ bool RegionBand::Exclude(const RegionBand& rSource)
bool RegionBand::CheckConsistency() const
{
+ if (!mpFirstBand)
+ return true;
// look in the band list (don't test first band again!)
const ImplRegionBand* pBand = mpFirstBand->mpNextBand;
while (pBand)
More information about the Libreoffice-commits
mailing list