diff options
Diffstat (limited to 'sd/source/ui/framework/configuration/ConfigurationUpdater.cxx')
-rw-r--r-- | sd/source/ui/framework/configuration/ConfigurationUpdater.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx index afc114b2ebfa..e6e332b53fad 100644 --- a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx +++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx @@ -198,10 +198,9 @@ void ConfigurationUpdater::CleanRequestedConfiguration() { Reference<XConfigurationController> xCC ( mxControllerManager->getConfigurationController()); - vector<Reference<XResourceId> >::iterator iId; - for (iId=aResourcesToDeactivate.begin(); iId!=aResourcesToDeactivate.end(); ++iId) - if (iId->is()) - xCC->requestResourceDeactivation(*iId); + for (auto& rxId : aResourcesToDeactivate) + if (rxId.is()) + xCC->requestResourceDeactivation(rxId); } } } |