summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/namedlg/namemgrtable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/namedlg/namemgrtable.cxx b/sc/source/ui/namedlg/namemgrtable.cxx
index dc894a093c4b..ad9ca9a4453d 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))