sd/source/filter/eppt/pptx-epptooxml.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit e5c3ba093ee03828b777784c93e90e7045de5152
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri Sep 11 14:33:56 2020 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri Sep 11 18:17:08 2020 +0200

    tdf#118002 fix export to pptx with missing background property set
    
    Change-Id: Ifd08ab2357ff8294bc691fb3312a002e7f349f3b
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102467
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx 
b/sd/source/filter/eppt/pptx-epptooxml.cxx
index 9de1eb5b3f60..c734bf10f0f5 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -1272,7 +1272,8 @@ void PowerPointExport::ImplWriteSlideMaster(sal_uInt32 
nPageNum, Reference< XPro
 
     pFS->startElementNS(XML_p, XML_cSld);
 
-    ImplWriteBackground(pFS, aXBackgroundPropSet);
+    if (aXBackgroundPropSet)
+        ImplWriteBackground(pFS, aXBackgroundPropSet);
     WriteShapeTree(pFS, MASTER, true);
 
     pFS->endElementNS(XML_p, XML_cSld);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to