summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-06-25 11:44:46 +0200
committerAndras Timar <andras.timar@collabora.com>2015-08-06 12:51:53 +0200
commit9f09039c62ef881d5bb10f78fbe28fdfe3cdbaea (patch)
tree994b175a34bc6aaa2d47b6a46dfc07f71aabcf58 /sc/inc
parent34258936780b74a211b3d00df8d4f1731b3cfbec (diff)
TableRef: invalidate table column names on most sheet operations
Kept only on insertions and deletions, but even that may not be useful as the names aren't updated at any time so even a mere cell change will bring this out of sync. But serves as a starting point for further implementation. Change-Id: Idfede4b03b9f554cd35f984502fce625c725853c (cherry picked from commit 98ba33677c288ff80c6f2812e85039175b7fcff8)
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/dbdata.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx
index c1d41f934810..b77e218df346 100644
--- a/sc/inc/dbdata.hxx
+++ b/sc/inc/dbdata.hxx
@@ -110,7 +110,6 @@ public:
void SetKeepFmt(bool bSet) { bKeepFmt = bSet; }
bool IsStripData() const { return bStripData; }
void SetStripData(bool bSet) { bStripData = bSet; }
- const ::std::vector< OUString >& GetTableColumnNames() { return maTableColumnNames; }
void SetTableColumnNames( const ::std::vector< OUString >& rNames ) { maTableColumnNames = rNames; }
OUString GetSourceString() const;
@@ -154,6 +153,11 @@ public:
SCsCOL nDx, SCsROW nDy, SCsTAB nDz);
void ExtendDataArea(ScDocument* pDoc);
+
+private:
+
+ void AdjustTableColumnNames( UpdateRefMode eUpdateRefMode, SCCOL nDx, SCCOL nCol1,
+ SCCOL nOldCol1, SCCOL nOldCol2, SCCOL nNewCol1, SCCOL nNewCol2 );
};
class SC_DLLPUBLIC ScDBCollection