diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-03-04 17:48:32 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-03-05 15:21:07 -0500 |
commit | e422d9efc36407cae4220c025a4c2d8e8de14be9 (patch) | |
tree | f166728385f95f4152212e36d28a5b685100a60b /sc/inc/rangenam.hxx | |
parent | More on re-working ScRangeName. (diff) | |
download | core-e422d9efc36407cae4220c025a4c2d8e8de14be9.tar.gz core-e422d9efc36407cae4220c025a4c2d8e8de14be9.zip |
Removed SearchName() in favor of findByName().
Diffstat (limited to 'sc/inc/rangenam.hxx')
-rw-r--r-- | sc/inc/rangenam.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx index b81f9fb28ec4..914f185e9f81 100644 --- a/sc/inc/rangenam.hxx +++ b/sc/inc/rangenam.hxx @@ -196,7 +196,7 @@ public: SC_DLLPUBLIC ScRangeData* operator[](sal_uInt16 nIndex); SC_DLLPUBLIC const ScRangeData* operator[](sal_uInt16 nIndex) const; SC_DLLPUBLIC const ScRangeData* GetRangeAtBlock(const ScRange& rRange) const; - SC_DLLPUBLIC bool SearchName(const rtl::OUString& rName, sal_uInt16& rPos) const; + SC_DLLPUBLIC ScRangeData* findByName(const rtl::OUString& rName); SC_DLLPUBLIC const ScRangeData* findByName(const rtl::OUString& rName) const; const ScRangeData* findByUpperName(const rtl::OUString& rName) const; bool SearchNameUpper(const rtl::OUString& rUpperName, sal_uInt16& rPos) const; @@ -212,6 +212,7 @@ public: SC_DLLPUBLIC size_t size() const; SC_DLLPUBLIC bool Insert(ScRangeData* p); void AtFree(size_t i); + void erase(const ScRangeData& r); void FreeAll(); void clear(); SC_DLLPUBLIC ScRangeData* At(size_t i); |