summaryrefslogtreecommitdiff
path: root/sc/source/ui/navipi/content.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-03-04 19:25:02 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-03-05 15:21:07 -0500
commit9b6c3f27f441099a4d07f8ecc3845e3fde46e992 (patch)
treed188ad0f516850bffca1785f043a75544ad54a68 /sc/source/ui/navipi/content.cxx
parent0df4b4a86073690ea9013645a39631289ea609a5 (diff)
Identified and tagged all places where I need to modify.
Diffstat (limited to 'sc/source/ui/navipi/content.cxx')
-rw-r--r--sc/source/ui/navipi/content.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx
index e6fe9aae19fc..d5f2d97544ee 100644
--- a/sc/source/ui/navipi/content.cxx
+++ b/sc/source/ui/navipi/content.cxx
@@ -666,6 +666,8 @@ void ScContentTree::GetAreaNames()
return;
ScRangeName* pRangeNames = pDoc->GetRangeName();
+#if NEW_RANGE_NAME
+#else
USHORT nCount = pRangeNames->GetCount();
if ( nCount > 0 )
{
@@ -700,6 +702,7 @@ void ScContentTree::GetAreaNames()
delete [] ppSortArray;
}
}
+#endif
}
void ScContentTree::GetDbNames()