diff options
Diffstat (limited to 'oox/source/drawingml/diagram/diagram.cxx')
-rw-r--r-- | oox/source/drawingml/diagram/diagram.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/diagram/diagram.cxx b/oox/source/drawingml/diagram/diagram.cxx index fb1fc916c349..678299ea3abd 100644 --- a/oox/source/drawingml/diagram/diagram.cxx +++ b/oox/source/drawingml/diagram/diagram.cxx @@ -214,7 +214,7 @@ static void sortChildrenByZOrder(const ShapePtr& pShape) [](const ShapePtr& a, const ShapePtr& b) { return a->getZOrder() < b->getZOrder(); }); // Apply also for children. - for (auto& rChild : rChildren) + for (const auto& rChild : rChildren) sortChildrenByZOrder(rChild); } |