diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-24 07:48:41 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-24 18:39:08 +0100 |
commit | f47455e3cfde26f8acd6419be563c027c4755624 (patch) | |
tree | 84ad25368c37c3958770f0c101aa2e43e3f022bf /sc/source/ui/docshell/externalrefmgr.cxx | |
parent | f2931c64d804bf63970bdb9fedf5e57f79a7a3a7 (diff) |
change ScRangeName's container to boost::ptr_map
Diffstat (limited to 'sc/source/ui/docshell/externalrefmgr.cxx')
-rw-r--r-- | sc/source/ui/docshell/externalrefmgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx index fe43efa7f9d6..b3c168226797 100644 --- a/sc/source/ui/docshell/externalrefmgr.cxx +++ b/sc/source/ui/docshell/externalrefmgr.cxx @@ -247,7 +247,7 @@ void removeRangeNamesBySrcDoc(ScRangeName& rRanges, sal_uInt16 nFileId) vector<ScRangeName::iterator> v; for (; itr != itrEnd; ++itr) { - if (hasRefsToSrcDoc(*itr, nFileId)) + if (hasRefsToSrcDoc(*itr->second, nFileId)) v.push_back(itr); } for_each(v.begin(), v.end(), EraseRangeByIterator(rRanges)); |