summaryrefslogtreecommitdiff
path: root/sc/inc/document.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-11 13:28:47 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-02-11 15:12:21 -0500
commit2ec3127da35933fc6d5ac47ecedd0267f67c1d62 (patch)
tree49f3b061b3f3964bb9b3e797c9ff011e1e2c6cfd /sc/inc/document.hxx
parentb51acfb4c0c7dec0cdc3de5890ebb1c051bab509 (diff)
Ensure that vector array has a numeric array of NaN's for empty range.
With this change, we ensure that mpNumArray is never NULL even when the range consists entirely of empty cells. For an empty range, mpNumArray will be non-NULL and filled with NaN's while mpStrArray will be NULL. Change-Id: If5cead26ebe917af150cf7e39e17afe3f310beb7
Diffstat (limited to 'sc/inc/document.hxx')
-rw-r--r--sc/inc/document.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/document.hxx b/sc/inc/document.hxx
index 032675b891fa..129450389b80 100644
--- a/sc/inc/document.hxx
+++ b/sc/inc/document.hxx
@@ -2047,9 +2047,10 @@ public:
formula::VectorRefArray FetchVectorRefArray( const ScAddress& rPos, SCROW nLength );
/**
- * Called whenever the value of a cell inside the document is modified.
+ * Call this before any operations that might trigger one or more formula
+ * cells to get calculated.
*/
- void CellContentModified();
+ void ClearFormulaContext();
SvtBroadcaster* GetBroadcaster( const ScAddress& rPos );
const SvtBroadcaster* GetBroadcaster( const ScAddress& rPos ) const;