diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-16 17:22:56 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-11-18 14:13:20 -0500 |
commit | 825d51667220dda2dfe145ad4584a21b23b8fa7b (patch) | |
tree | 1fb252109d21e3dda5b3e63ec99234e408b44e70 /sc/inc/queryparam.hxx | |
parent | A little cleanup. (diff) | |
download | core-825d51667220dda2dfe145ad4584a21b23b8fa7b.tar.gz core-825d51667220dda2dfe145ad4584a21b23b8fa7b.zip |
Replace DeleteQuery with RemoveEntryByField.
The latter takes care of iterating through the elements.
Diffstat (limited to 'sc/inc/queryparam.hxx')
-rw-r--r-- | sc/inc/queryparam.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/inc/queryparam.hxx b/sc/inc/queryparam.hxx index 6c1c09a040a4..5e0899b15bc4 100644 --- a/sc/inc/queryparam.hxx +++ b/sc/inc/queryparam.hxx @@ -54,9 +54,8 @@ struct ScQueryParamBase SC_DLLPUBLIC const ScQueryEntry& GetEntry(SCSIZE n) const; SC_DLLPUBLIC ScQueryEntry& GetEntry(SCSIZE n); ScQueryEntry* FindEntryByField(SCCOLROW nField, bool bNew); - void RemoveEntryByField(SCCOLROW nField); + SC_DLLPUBLIC void RemoveEntryByField(SCCOLROW nField); void Resize(size_t nNew); - SC_DLLPUBLIC void DeleteQuery(size_t nPos); void FillInExcelSyntax(const rtl::OUString& aCellStr, SCSIZE nIndex); protected: |