summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/source/drawingml/diagram/diagramlayoutatoms.hxx7
1 files changed, 6 insertions, 1 deletions
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: