summaryrefslogtreecommitdiff
path: root/sc/source/core
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-08-12 20:50:00 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-08-13 12:34:21 +0200
commite6c07ad2ed0e8b4d8ac140e369d0428c733f7662 (patch)
tree1560e95345875033912747c3c41a6fa52d343d1d /sc/source/core
parent87956cb7154bd73ff30fc1169a656a4bc0fd78d3 (diff)
copied color scale formulas also need to listen to the new document
Change-Id: I2d642ba40454822e67a9c2c70f99d15459826f3b
Diffstat (limited to 'sc/source/core')
-rw-r--r--sc/source/core/data/colorscale.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/data/colorscale.cxx b/sc/source/core/data/colorscale.cxx
index dd34efa1273e..dda1b63d1ac8 100644
--- a/sc/source/core/data/colorscale.cxx
+++ b/sc/source/core/data/colorscale.cxx
@@ -63,6 +63,7 @@ ScColorScaleEntry::ScColorScaleEntry(ScDocument* pDoc, const ScColorScaleEntry&
if(rEntry.mpCell)
{
mpCell.reset(static_cast<ScFormulaCell*>(rEntry.mpCell->Clone(*pDoc, SC_CLONECELL_NOMAKEABS_EXTERNAL)));
+ mpCell->StartListeningTo( pDoc );
}
}