diff options
Diffstat (limited to 'xmloff/source/draw/shapeimport.cxx')
-rw-r--r-- | xmloff/source/draw/shapeimport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx index c338c15c724a..f0886de65d2a 100644 --- a/xmloff/source/draw/shapeimport.cxx +++ b/xmloff/source/draw/shapeimport.cxx @@ -641,7 +641,7 @@ void ShapeGroupContext::popGroupAndPostProcess() uno::Sequence<sal_Int32> aNewOrder(maZOrderList.size() + maUnsortedList.size()); sal_Int32 nIndex = 0; - for (ZOrderHint& rHint : maZOrderList) + for (const ZOrderHint& rHint : maZOrderList) { // fill in the gaps from unordered list for (vector<ZOrderHint>::iterator aIt = maUnsortedList.begin(); aIt != maUnsortedList.end() && nIndex < rHint.nShould; ) |