diff options
author | Eike Rathke <erack@redhat.com> | 2016-04-27 16:00:29 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-04-27 21:06:20 +0200 |
commit | cc5f8c6bf09c88859a317f822800e569670873f8 (patch) | |
tree | 672656b8cc8e56e60428765d5791a30e82e7ddf5 /sc/inc | |
parent | 4e6fd4f4b5e82f6d15d181934adbe7d23dde617a (diff) |
FindRangeNameByIndexAndSheet() to FindRangeNameBySheetAndIndex()
index,sheet was slightly confusing as we lookup an index within a sheet.
Change-Id: I164dd48187e6652639094e33ca83a91a96c893a0
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/document.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx index 958ffc46f842..d04e8960ebb5 100644 --- a/sc/inc/document.hxx +++ b/sc/inc/document.hxx @@ -543,13 +543,13 @@ public: void SetRangeName( ScRangeName* pNewRangeName ); /** Find a named expression / range name in either global or a local scope. - @param nIndex - Index of named expression / range name. @param nTab If <0 search nIndex in global scope, if >=0 search nIndex in scope of nTab. + @param nIndex + Index of named expression / range name. @return nullptr if indexed name not found. */ - ScRangeData* FindRangeNameByIndexAndSheet( sal_uInt16 nIndex, SCTAB nTab ) const; + ScRangeData* FindRangeNameBySheetAndIndex( SCTAB nTab, sal_uInt16 nIndex ) const; /** * Call this immediately before updating all named ranges. |