summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/formulabuffer.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-04 20:06:07 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-01-04 20:12:51 +0100
commitd7524b9e8bff832b305ca9ec735664607c50224f (patch)
treed1f4a8a8a9548720cd0171746c205a1f4eead0df /sc/source/filter/oox/formulabuffer.cxx
parent63b5af3d1f355a5f9649302058b32124ab262a20 (diff)
don't forget the dependency tree during OOXML import, fdo#58863
Change-Id: I8863faddd1bca0b55764d09c4ef9f959264b53ae
Diffstat (limited to 'sc/source/filter/oox/formulabuffer.cxx')
-rw-r--r--sc/source/filter/oox/formulabuffer.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx
index 720f2afb9225..b04c9d2db094 100644
--- a/sc/source/filter/oox/formulabuffer.cxx
+++ b/sc/source/filter/oox/formulabuffer.cxx
@@ -122,7 +122,8 @@ void FormulaBuffer::applyCellFormula( ScDocument& rDoc, const ApiTokenSequence&
ScAddress aCellPos;
ScUnoConversion::FillScAddress( aCellPos, rAddress );
ScTokenConversion::ConvertToTokenArray( rDoc, aTokenArray, rTokens );
- ScBaseCell* pNewCell = new ScFormulaCell( &rDoc, aCellPos, &aTokenArray );
+ ScFormulaCell* pNewCell = new ScFormulaCell( &rDoc, aCellPos, &aTokenArray );
+ pNewCell->StartListeningTo( &rDoc );
rDoc.PutCell( aCellPos, pNewCell, sal_True );
}