summaryrefslogtreecommitdiff
path: root/sc/inc/dbdata.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2015-08-31 23:35:00 +0200
committerEike Rathke <erack@redhat.com>2015-08-31 23:40:09 +0200
commitbc712935a05dd34142b4c17dd6686761d9b9d5e1 (patch)
treed5f5ba20c1761d59cc292c2cad6c9a876f64df99 /sc/inc/dbdata.hxx
parent75a8f6173e6b5d601c3a7d154406f5ae8331eb41 (diff)
TableRef: refresh table column names before saving
... to match reality and be able to re-load structured references in range names once we save TableRefs as well. Change-Id: I5f8fc858be2a773d7841816c3e4bf21590d37e64
Diffstat (limited to 'sc/inc/dbdata.hxx')
-rw-r--r--sc/inc/dbdata.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx
index 2b6dfaec97a8..bacf0999357b 100644
--- a/sc/inc/dbdata.hxx
+++ b/sc/inc/dbdata.hxx
@@ -114,6 +114,9 @@ public:
void SetTableColumnNames( const ::std::vector< OUString >& rNames ) { maTableColumnNames = rNames; }
const ::std::vector< OUString >& GetTableColumnNames() const { return maTableColumnNames; }
+ /** Refresh/update the column names with the header row's cell contents. */
+ SC_DLLPUBLIC void RefreshTableColumnNames( ScDocument* pDoc );
+
/** Finds the column named rName and returns the corresponding offset
within the table.
@returns -1 if not found.