[Libreoffice-commits] core.git: oox/source
Stephan Bergmann
sbergman at redhat.com
Thu Sep 28 06:47:28 UTC 2017
oox/source/drawingml/diagram/diagramlayoutatoms.hxx | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 851c9f8f4be79be43837b6295decf90c8b27cc71
Author: Stephan Bergmann <sbergman at 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:
More information about the Libreoffice-commits
mailing list