summaryrefslogtreecommitdiff
path: root/sc/source/ui/namedlg
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-11-24 07:48:41 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-11-24 18:39:08 +0100
commitf47455e3cfde26f8acd6419be563c027c4755624 (patch)
tree84ad25368c37c3958770f0c101aa2e43e3f022bf /sc/source/ui/namedlg
parentf2931c64d804bf63970bdb9fedf5e57f79a7a3a7 (diff)
change ScRangeName's container to boost::ptr_map
Diffstat (limited to 'sc/source/ui/namedlg')
-rw-r--r--sc/source/ui/namedlg/namemgrtable.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/namedlg/namemgrtable.cxx b/sc/source/ui/namedlg/namemgrtable.cxx
index 28adc44a21db..f2b03b11509d 100644
--- a/sc/source/ui/namedlg/namemgrtable.cxx
+++ b/sc/source/ui/namedlg/namemgrtable.cxx
@@ -131,10 +131,10 @@ void ScRangeManagerTable::Init(const boost::ptr_map<rtl::OUString, ScRangeName>&
for (ScRangeName::const_iterator it = pLocalRangeName->begin();
it != pLocalRangeName->end(); ++it)
{
- if (!it->HasType(RT_DATABASE) && !it->HasType(RT_SHARED))
+ if (!it->second->HasType(RT_DATABASE) && !it->second->HasType(RT_SHARED))
{
- aLine.aName = it->GetName();
- it->GetSymbol(aLine.aExpression);
+ aLine.aName = it->second->GetName();
+ it->second->GetSymbol(aLine.aExpression);
addEntry(aLine);
}
}