vcl/source/gdi/regionband.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 0679d6375c7ef747dea78b9c49dee78f488c058a
Author: Caolán McNamara <[email protected]>
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 <[email protected]>
Reviewed-by: Caolán McNamara <[email protected]>
Tested-by: Caolán McNamara <[email protected]>
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)
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits