diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-30 01:36:28 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-07-30 23:50:02 -0400 |
commit | 5a1960f5ea9f225fda493df746e5674e3bd1cce9 (patch) | |
tree | 7f77a380e2e16500e39fdde51d379d9606507d1c /sc/inc/rangenam.hxx | |
parent | ed671a33a31b8d8cd81e3774be603c13e8b9a6f3 (diff) |
Update range names on sheet deletion.
It works fine with live calc instance, but somehow fails in unit test.
Change-Id: Ie60774b4f1f8391801e0d9358f6cca78d8e52397
Diffstat (limited to 'sc/inc/rangenam.hxx')
-rw-r--r-- | sc/inc/rangenam.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx index cceb4d6c9b7d..d18c0a71927b 100644 --- a/sc/inc/rangenam.hxx +++ b/sc/inc/rangenam.hxx @@ -36,6 +36,7 @@ class ScTokenArray; namespace sc { struct RefUpdateContext; struct RefUpdateInsertTabContext; + struct RefUpdateDeleteTabContext; } typedef sal_uInt16 RangeType; @@ -143,6 +144,7 @@ public: void UpdateTabRef(SCTAB nOldTable, TabRefUpdateMode eMode, SCTAB nNewTable, SCTAB nNewSheets); void UpdateInsertTab( sc::RefUpdateInsertTabContext& rCxt, SCTAB nLocalTab = -1 ); + void UpdateDeleteTab( sc::RefUpdateDeleteTabContext& rCxt, SCTAB nLocalTab = -1 ); void ValidateTabRefs(); @@ -192,6 +194,7 @@ public: SC_DLLPUBLIC ScRangeData* findByIndex(sal_uInt16 i) const; void UpdateReference( sc::RefUpdateContext& rCxt, SCTAB nLocalTab = -1 ); void UpdateInsertTab( sc::RefUpdateInsertTabContext& rCxt, SCTAB nLocalTab = -1 ); + void UpdateDeleteTab( sc::RefUpdateDeleteTabContext& rCxt, SCTAB nLocalTab = -1 ); void UpdateTabRef(SCTAB nTable, ScRangeData::TabRefUpdateMode eMode, SCTAB nNewTable = 0, SCTAB nNewSheets = 1); void UpdateTranspose(const ScRange& rSource, const ScAddress& rDest); void UpdateGrow(const ScRange& rArea, SCCOL nGrowX, SCROW nGrowY); |