diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-10-08 17:51:06 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-10-09 01:13:35 +0200 |
commit | d10d62c6e8f4637aea5249f9cc51302945b2069f (patch) | |
tree | b7d5aca377cf074baebf8bd76e27ec036e93dff5 /sc | |
parent | 62ed95a3389fa9c89f0d882c0f6e573c7da3ad48 (diff) |
prevent crash in the new dataprovider UI when adding a new column
Change-Id: I3f87d2dac75662ab1da6049579d33d6b39e1da0c
Reviewed-on: https://gerrit.libreoffice.org/43257
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/document.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 86b57f4077e6..94b96c051836 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -1574,7 +1574,7 @@ bool ScDocument::InsertCol( SCROW nStartRow, SCTAB nStartTab, bRet = true; } SetAutoCalc( bOldAutoCalc ); - if ( bRet ) + if ( bRet && pChartListenerCollection ) pChartListenerCollection->UpdateDirtyCharts(); return bRet; } |