summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/tools/verifyinput.cxx11
1 files changed, 5 insertions, 6 deletions
diff --git a/canvas/source/tools/verifyinput.cxx b/canvas/source/tools/verifyinput.cxx
index ad9822b2395d..595d5dd0c6f0 100644
--- a/canvas/source/tools/verifyinput.cxx
+++ b/canvas/source/tools/verifyinput.cxx
@@ -461,13 +461,12 @@ namespace canvas
#endif
}
- ::std::for_each( strokeAttributes.DashArray.getConstArray(),
- strokeAttributes.DashArray.getConstArray() + strokeAttributes.DashArray.getLength(),
- VerifyDashValue( pStr, xIf, nArgPos ) );
+ VerifyDashValue aVerifyDashValue( pStr, xIf, nArgPos );
+ for (auto const& aStrokeAttribute : strokeAttributes.DashArray)
+ aVerifyDashValue( aStrokeAttribute );
- ::std::for_each( strokeAttributes.LineArray.getConstArray(),
- strokeAttributes.LineArray.getConstArray() + strokeAttributes.LineArray.getLength(),
- VerifyDashValue( pStr, xIf, nArgPos ) );
+ for (auto const& aStrokeAttribute : strokeAttributes.LineArray)
+ aVerifyDashValue( aStrokeAttribute );
if( strokeAttributes.StartCapType < rendering::PathCapType::BUTT ||
strokeAttributes.StartCapType > rendering::PathCapType::SQUARE )