Kaydet (Commit) e6c07ad2 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

copied color scale formulas also need to listen to the new document

Change-Id: I2d642ba40454822e67a9c2c70f99d15459826f3b
üst 87956cb7
...@@ -63,6 +63,7 @@ ScColorScaleEntry::ScColorScaleEntry(ScDocument* pDoc, const ScColorScaleEntry& ...@@ -63,6 +63,7 @@ ScColorScaleEntry::ScColorScaleEntry(ScDocument* pDoc, const ScColorScaleEntry&
if(rEntry.mpCell) if(rEntry.mpCell)
{ {
mpCell.reset(static_cast<ScFormulaCell*>(rEntry.mpCell->Clone(*pDoc, SC_CLONECELL_NOMAKEABS_EXTERNAL))); mpCell.reset(static_cast<ScFormulaCell*>(rEntry.mpCell->Clone(*pDoc, SC_CLONECELL_NOMAKEABS_EXTERNAL)));
mpCell->StartListeningTo( pDoc );
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment