summaryrefslogtreecommitdiffstats
path: root/src/object/sp-item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/sp-item.cpp')
-rw-r--r--src/object/sp-item.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/object/sp-item.cpp b/src/object/sp-item.cpp
index cbfd126f9..5157ff7eb 100644
--- a/src/object/sp-item.cpp
+++ b/src/object/sp-item.cpp
@@ -1298,9 +1298,9 @@ void SPItem::adjust_stroke( gdouble ex )
style->stroke_width.set = TRUE;
if ( !style->stroke_dasharray.values.empty() ) {
- for (unsigned i = 0; i < style->stroke_dasharray.values.size(); i++) {
- style->stroke_dasharray.values[i].value *= ex;
- style->stroke_dasharray.values[i].computed *= ex;
+ for (auto & value : style->stroke_dasharray.values) {
+ value.value *= ex;
+ value.computed *= ex;
}
style->stroke_dashoffset.value *= ex;
style->stroke_dashoffset.computed *= ex;