oox/source/drawingml/diagram/diagramlayoutatoms.hxx |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

New commits:
commit 851c9f8f4be79be43837b6295decf90c8b27cc71
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Thu Sep 28 08:46:08 2017 +0200

    Blind fix for Clang 3.8 "must explicitly initialize the const member" error
    
    ...as seen at <https://ci.libreoffice.org/job/lo_ubsan/681/console>
    
    Change-Id: I428b6e2fe55023fde5b77f7ff0bd1dba16bae2ed

diff --git a/oox/source/drawingml/diagram/diagramlayoutatoms.hxx 
b/oox/source/drawingml/diagram/diagramlayoutatoms.hxx
index 117326b625ab..d5281c7cb49f 100644
--- a/oox/source/drawingml/diagram/diagramlayoutatoms.hxx
+++ b/oox/source/drawingml/diagram/diagramlayoutatoms.hxx
@@ -196,7 +196,12 @@ class ChooseAtom
     : public LayoutAtom
 {
 public:
-    ChooseAtom(const LayoutNode& rLayoutNode) : LayoutAtom(rLayoutNode) {}
+    ChooseAtom(const LayoutNode& rLayoutNode)
+        : LayoutAtom(rLayoutNode)
+#if defined __clang__ && __clang_major__ == 3 && __clang_minor__ == 8
+        , maEmptyChildren()
+#endif
+    {}
     virtual void accept( LayoutAtomVisitor& ) override;
     virtual const std::vector<LayoutAtomPtr>& getChildren() const override;
 private:
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to