[Libreoffice-commits] core.git: cui/source

Caolán McNamara caolanm at redhat.com
Fri Feb 21 15:10:07 PST 2014


 cui/source/options/optgdlg.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6e0823e3880e5ea26db868dbe0455e8c984744ab
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Feb 21 23:09:13 2014 +0000

    c++11ism
    
    Change-Id: I54a32d1e07173e2cd5522e1b2e7ceff3b4f3378c

diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 6b256d8..3e4cdf5 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -608,8 +608,8 @@ OfaViewTabPage::OfaViewTabPage(Window* pParent, const SfxItemSet& rSet)
                                 OUString(")");
     m_pIconStyleLB->InsertEntry(entryForAuto);
 
-    for (const vcl::IconThemeInfo& i : mInstalledIconThemes) {
-        m_pIconStyleLB->InsertEntry(i.GetDisplayName());
+    for (std::vector<vcl::IconThemeInfo>::const_iterator aI = mInstalledIconThemes.begin(); aI != mInstalledIconThemes.end(); ++aI) {
+        m_pIconStyleLB->InsertEntry(aI->GetDisplayName());
     }
 
     // separate auto and other icon themes


More information about the Libreoffice-commits mailing list