[Libreoffice-commits] core.git: sw/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jan 3 19:27:37 UTC 2020
sw/source/core/access/AccessibilityCheck.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cad2d7f7268ee4b426c8d6fdca796020a70c33f5
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Jan 3 14:54:33 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Jan 3 20:27:05 2020 +0100
cid#1456612 Dereference null return value
Change-Id: I0160fe9f31dc0716bd862014ca1e8eb7bae7c1ab
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86182
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sw/source/core/access/AccessibilityCheck.cxx b/sw/source/core/access/AccessibilityCheck.cxx
index 606a47da0e6f..0d07cb4f0357 100644
--- a/sw/source/core/access/AccessibilityCheck.cxx
+++ b/sw/source/core/access/AccessibilityCheck.cxx
@@ -350,7 +350,7 @@ private:
rPageSet.GetItem<XFillStyleItem>(XATTR_FILLSTYLE, false));
Color aPageBackground;
- if (pXFillStyleItem->GetValue() == css::drawing::FillStyle_SOLID)
+ if (pXFillStyleItem && pXFillStyleItem->GetValue() == css::drawing::FillStyle_SOLID)
{
const XFillColorItem* rXFillColorItem
= rPageSet.GetItem<XFillColorItem>(XATTR_FILLCOLOR, false);
More information about the Libreoffice-commits
mailing list