[Libreoffice-commits] .: sc/source

Jan Holesovsky kendy at kemper.freedesktop.org
Wed Nov 23 05:46:13 PST 2011


 sc/source/ui/namedlg/namemgrtable.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 039cbb09351c133df81c4303ce30b327e07ff40a
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Wed Nov 23 14:44:11 2011 +0100

    'const_iterator' instead of 'iterator' to fix Windows build.

diff --git a/sc/source/ui/namedlg/namemgrtable.cxx b/sc/source/ui/namedlg/namemgrtable.cxx
index dc894a0..ad9ca9a 100644
--- a/sc/source/ui/namedlg/namemgrtable.cxx
+++ b/sc/source/ui/namedlg/namemgrtable.cxx
@@ -125,7 +125,7 @@ void ScRangeManagerTable::Init(const boost::ptr_map<rtl::OUString, ScRangeName>&
             aLine.aScope = maGlobalString;
         else
             aLine.aScope = itr->first;
-        for (ScRangeName::iterator it = pLocalRangeName->begin();
+        for (ScRangeName::const_iterator it = pLocalRangeName->begin();
                 it != pLocalRangeName->end(); ++it)
         {
             if (!it->HasType(RT_DATABASE) && !it->HasType(RT_SHARED))


More information about the Libreoffice-commits mailing list