summaryrefslogtreecommitdiff
path: root/sc/source/filter/excel/xlformula.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-03-05 14:21:56 -0500
committerKohei Yoshida <kyoshida@novell.com>2011-03-05 15:21:09 -0500
commitd23aeeae680af953c6757b0e6394e4cac191f655 (patch)
tree89e992323dfb068f4a94dfb9cbe645a6da3491ea /sc/source/filter/excel/xlformula.cxx
parenta4e0c61a042d09e39b2872254eeaa5c3ed7642fb (diff)
Renamed FindIndex to findByIndex to be consistent with findByName.
Diffstat (limited to 'sc/source/filter/excel/xlformula.cxx')
-rw-r--r--sc/source/filter/excel/xlformula.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/excel/xlformula.cxx b/sc/source/filter/excel/xlformula.cxx
index b5710123ebd8..c06d4ed07179 100644
--- a/sc/source/filter/excel/xlformula.cxx
+++ b/sc/source/filter/excel/xlformula.cxx
@@ -699,7 +699,7 @@ const ScTokenArray* XclTokenArrayHelper::GetSharedFormula( const XclRoot& rRoot,
if( rScTokArr.GetLen() == 1 )
if( const FormulaToken* pScToken = rScTokArr.GetArray()[ 0 ] )
if( pScToken->GetOpCode() == ocName )
- if( ScRangeData* pData = rRoot.GetNamedRanges().FindIndex( pScToken->GetIndex() ) )
+ if( ScRangeData* pData = rRoot.GetNamedRanges().findByIndex( pScToken->GetIndex() ) )
if( pData->HasType( RT_SHARED ) )
return pData->GetCode();
return 0;