summaryrefslogtreecommitdiff
path: root/forms/source/solar/control/navtoolbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/solar/control/navtoolbar.cxx')
-rw-r--r--forms/source/solar/control/navtoolbar.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/solar/control/navtoolbar.cxx b/forms/source/solar/control/navtoolbar.cxx
index 5acd1139e217..bbb717139e19 100644
--- a/forms/source/solar/control/navtoolbar.cxx
+++ b/forms/source/solar/control/navtoolbar.cxx
@@ -366,10 +366,10 @@ namespace frm
}
// retrieve the images for the command URLs
- CommandImages aCommandImages = m_pImageProvider->getCommandImages( aCommandURLs, m_eImageSize == eLarge );
+ std::vector<Image> aCommandImages = m_pImageProvider->getCommandImages( aCommandURLs, m_eImageSize == eLarge );
// and set them at the toolbar
- CommandImages::const_iterator commandImage = aCommandImages.begin();
+ auto commandImage = aCommandImages.begin();
for (auto const& formFeature : aFormFeatures)
{
m_pToolbar->SetItemImage( formFeature, *commandImage );