diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-07-10 13:09:03 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-07-10 13:09:03 +0000 |
commit | 4b942901a8452397b462631f2b6ad9b788a532f0 (patch) | |
tree | b400ce1ccaa4ea0ed322fb83170b841a470d02c1 /sc/source/ui/navipi | |
parent | 5a73a426eef80cae652a180c83535cb9696829ed (diff) |
INTEGRATION: CWS dr48 (1.18.42); FILE MERGED
2006/06/01 13:58:27 nn 1.18.42.1: #i63148# IsValidReference for area links etc.
Diffstat (limited to 'sc/source/ui/navipi')
-rw-r--r-- | sc/source/ui/navipi/content.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/navipi/content.cxx b/sc/source/ui/navipi/content.cxx index 556de967bf3e..a9e6e21ebf61 100644 --- a/sc/source/ui/navipi/content.cxx +++ b/sc/source/ui/navipi/content.cxx @@ -4,9 +4,9 @@ * * $RCSfile: content.cxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: hr $ $Date: 2006-06-19 21:34:13 $ + * last change: $Author: obo $ $Date: 2006-07-10 14:09:03 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -700,7 +700,7 @@ void ScContentTree::GetAreaNames() for ( i=0; i<nCount; i++ ) { ScRangeData* pData = (*pRangeNames)[i]; - if (pData->IsReference(aDummy)) + if (pData->IsValidReference(aDummy)) nValidCount++; } if ( nValidCount ) @@ -710,7 +710,7 @@ void ScContentTree::GetAreaNames() for ( i=0, j=0; i<nCount; i++ ) { ScRangeData* pData = (*pRangeNames)[i]; - if (pData->IsReference(aDummy)) + if (pData->IsValidReference(aDummy)) ppSortArray[j++] = pData; } #ifndef ICC @@ -1048,7 +1048,7 @@ BOOL lcl_GetRange( ScDocument* pDoc, USHORT nType, const String& rName, ScRange& ScRangeName* pList = pDoc->GetRangeName(); if (pList) if (pList->SearchName( rName, nPos )) - if ( (*pList)[nPos]->IsReference( rRange ) ) + if ( (*pList)[nPos]->IsValidReference( rRange ) ) bFound = TRUE; } else if ( nType == SC_CONTENT_DBAREA ) |