xmloff/source/style/styleexp.cxx | 3 +++ 1 file changed, 3 insertions(+)
New commits: commit ae90b9127c5059a0d8cdbcde1536ebb56c3768b0 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Mon Aug 24 10:16:22 2020 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Mon Aug 24 13:08:55 2020 +0200 crashtesting: sdr::table::TableDesignStyle doesn't support XPropertySet rStyle is a sdr::table::TableDesignStyle which doesn't support XPropertySet Change-Id: I4987cfd57abc1954e108271d85433ad6e8b1493f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101266 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx index 31e10bc5f7e5..c3dc6b6742c7 100644 --- a/xmloff/source/style/styleexp.cxx +++ b/xmloff/source/style/styleexp.cxx @@ -130,6 +130,9 @@ bool XMLStyleExport::exportStyle( const OUString* pPrefix ) { Reference< XPropertySet > xPropSet( rStyle, UNO_QUERY ); + if (!xPropSet) + return false; + Reference< XPropertySetInfo > xPropSetInfo = xPropSet->getPropertySetInfo(); Any aAny; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits