summaryrefslogtreecommitdiff
path: root/sc/source/core/data/documen3.cxx
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/core/data/documen3.cxx
parentf2931c64d804bf63970bdb9fedf5e57f79a7a3a7 (diff)
change ScRangeName's container to boost::ptr_map
Diffstat (limited to 'sc/source/core/data/documen3.cxx')
-rw-r--r--sc/source/core/data/documen3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen3.cxx b/sc/source/core/data/documen3.cxx
index d225f1143945..49456a136f7f 100644
--- a/sc/source/core/data/documen3.cxx
+++ b/sc/source/core/data/documen3.cxx
@@ -1541,7 +1541,7 @@ bool ScDocument::GetFormulaEntries( TypedScStrCollection& rStrings )
ScRangeName::const_iterator itr = pRangeName->begin(), itrEnd = pRangeName->end();
for (; itr != itrEnd; ++itr)
{
- TypedStrData* pNew = new TypedStrData(itr->GetName(), 0.0, SC_STRTYPE_NAMES);
+ TypedStrData* pNew = new TypedStrData(itr->second->GetName(), 0.0, SC_STRTYPE_NAMES);
if (!rStrings.Insert(pNew))
delete pNew;
}