summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-01-02 23:11:55 +0100
committerKohei Yoshida <libreoffice@kohei.us>2015-01-03 00:47:32 +0000
commit31e82d9f6f07335a2526bd44956eebfcaf0a289d (patch)
tree55b81bf98c82aef6712ffda756134a7a3506a72d /sc/inc
parente26f57446179a10a621b31a77446424a8ce14f7b (diff)
Add deleteOnTab for ScDBCollection::AnonDBs
and use it instead of just using remove_if which is useless nothing! Change-Id: I37d8254b05123e50b076ddbb6f67726198ec4d6c Reviewed-on: https://gerrit.libreoffice.org/13723 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/dbdata.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx
index bb2684a409f4..c2a842602eed 100644
--- a/sc/inc/dbdata.hxx
+++ b/sc/inc/dbdata.hxx
@@ -203,6 +203,7 @@ public:
const_iterator end() const;
const ScDBData* findAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, bool bStartOnly) const;
const ScDBData* findByRange(const ScRange& rRange) const;
+ void deleteOnTab(SCTAB nTab);
ScDBData* getByRange(const ScRange& rRange);
void insert(ScDBData* p);
bool empty() const;