summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/gridwin4.cxx
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/source/ui/view/gridwin4.cxx
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/source/ui/view/gridwin4.cxx')
-rw-r--r--sc/source/ui/view/gridwin4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 729073b23d96..56f227de8b16 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -882,7 +882,7 @@ void ScGridWindow::Draw( SCCOL nX1, SCROW nY1, SCCOL nX2, SCROW nY2, ScUpdateMod
// Flag drawn formula cells "unchanged".
pDoc->ResetChanged(ScRange(nX1,nY1,nTab,nX2,nY2,nTab));
- pDoc->CellContentModified();
+ pDoc->ClearFormulaContext();
}
void ScGridWindow::CheckNeedsRepaint()