summaryrefslogtreecommitdiff
path: root/sc/source/ui/pagedlg
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/pagedlg
parentf2931c64d804bf63970bdb9fedf5e57f79a7a3a7 (diff)
change ScRangeName's container to boost::ptr_map
Diffstat (limited to 'sc/source/ui/pagedlg')
-rw-r--r--sc/source/ui/pagedlg/areasdlg.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/pagedlg/areasdlg.cxx b/sc/source/ui/pagedlg/areasdlg.cxx
index b239d525acb9..6968699d3ffc 100644
--- a/sc/source/ui/pagedlg/areasdlg.cxx
+++ b/sc/source/ui/pagedlg/areasdlg.cxx
@@ -484,15 +484,15 @@ void ScPrintAreasDlg::Impl_FillLists()
ScRangeName::const_iterator itr = pRangeNames->begin(), itrEnd = pRangeNames->end();
for (; itr != itrEnd; ++itr)
{
- if (!itr->HasType(RT_ABSAREA) && !itr->HasType(RT_REFAREA) && !itr->HasType(RT_ABSPOS))
+ if (!itr->second->HasType(RT_ABSAREA) && !itr->second->HasType(RT_REFAREA) && !itr->second->HasType(RT_ABSPOS))
continue;
- OUString aName = itr->GetName();
+ OUString aName = itr->second->GetName();
OUString aSymbol;
- itr->GetSymbol(aSymbol);
+ itr->second->GetSymbol(aSymbol);
if (aRange.ParseAny(aSymbol, pDoc, eConv) & SCA_VALID)
{
- if (itr->HasType(RT_PRINTAREA))
+ if (itr->second->HasType(RT_PRINTAREA))
{
aRange.Format(aSymbol, SCR_ABS, pDoc, eConv);
aLbPrintArea.SetEntryData(
@@ -500,7 +500,7 @@ void ScPrintAreasDlg::Impl_FillLists()
new String(aSymbol) );
}
- if (itr->HasType(RT_ROWHEADER))
+ if (itr->second->HasType(RT_ROWHEADER))
{
lcl_GetRepeatRangeString(&aRange, pDoc, true, aSymbol);
aLbRepeatRow.SetEntryData(
@@ -508,7 +508,7 @@ void ScPrintAreasDlg::Impl_FillLists()
new String(aSymbol) );
}
- if (itr->HasType(RT_COLHEADER))
+ if (itr->second->HasType(RT_COLHEADER))
{
lcl_GetRepeatRangeString(&aRange, pDoc, false, aSymbol);
aLbRepeatCol.SetEntryData(