diff options
Diffstat (limited to 'xmloff/source/forms/handler/vcl_time_handler.cxx')
-rw-r--r-- | xmloff/source/forms/handler/vcl_time_handler.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/xmloff/source/forms/handler/vcl_time_handler.cxx b/xmloff/source/forms/handler/vcl_time_handler.cxx index 2bedb56cc775..c37379b37b64 100644 --- a/xmloff/source/forms/handler/vcl_time_handler.cxx +++ b/xmloff/source/forms/handler/vcl_time_handler.cxx @@ -91,12 +91,9 @@ namespace xmloff const Any aPropertyValue( makeAny( aTime ) ); OSL_ENSURE( o_propertyValues.size() == 1, "VCLTimeHandler::getPropertyValues: time strings represent exactly one property - not more, not less!" ); - for ( PropertyValues::iterator prop = o_propertyValues.begin(); - prop != o_propertyValues.end(); - ++prop - ) + for ( auto& prop : o_propertyValues ) { - prop->second = aPropertyValue; + prop.second = aPropertyValue; } return true; } |