diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-23 03:41:26 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-11-23 06:25:36 +0100 |
commit | 9e8ae1d56076474e4673a953d8ebd726cb5daa18 (patch) | |
tree | 9fa98ed589c4484bfc2b72a520e7f195f561c0f2 /sc/inc/rangenam.hxx | |
parent | ManageNames: add missing licence headers (diff) | |
download | core-9e8ae1d56076474e4673a953d8ebd726cb5daa18.tar.gz core-9e8ae1d56076474e4673a953d8ebd726cb5daa18.zip |
remove ScRangeName::findByName
this method was mmisused and is the source for some "bugs"
we don't allow case sensitive storage of range names and therefore it
does not amke sense to search by case sensitive names, use
ScRangeName::findByUpperName instead
Especially the uno implementation did behave wrongly and allowed to
create two names that were identicall for the model
Diffstat (limited to 'sc/inc/rangenam.hxx')
-rw-r--r-- | sc/inc/rangenam.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx index df161a1818b9..4214af3755af 100644 --- a/sc/inc/rangenam.hxx +++ b/sc/inc/rangenam.hxx @@ -202,8 +202,6 @@ public: SC_DLLPUBLIC ScRangeName(const ScRangeName& r); SC_DLLPUBLIC const ScRangeData* findByRange(const ScRange& rRange) const; - SC_DLLPUBLIC ScRangeData* findByName(const rtl::OUString& rName); - SC_DLLPUBLIC const ScRangeData* findByName(const rtl::OUString& rName) const; SC_DLLPUBLIC ScRangeData* findByUpperName(const rtl::OUString& rName); SC_DLLPUBLIC const ScRangeData* findByUpperName(const rtl::OUString& rName) const; SC_DLLPUBLIC ScRangeData* findByIndex(sal_uInt16 i); |