Kaydet (Commit) 9c5b0624 authored tarafından Wang Lei's avatar Wang Lei

#i121285 calc crashes when inserting row's via macro

Patch by: Clarence GUO
Review by: Wang Lei
üst c71bb0d6
......@@ -746,9 +746,13 @@ ScFormulaCell::ScFormulaCell( const ScFormulaCell& rCell, ScDocument& rDoc, cons
bInChangeTrack( sal_False ),
bTableOpDirty( sal_False ),
bNeedListening( sal_False ),
pValidRefToken( rCell.pValidRefToken ),
aPos( rPos )
{
if ( rCell.pValidRefToken )
pValidRefToken = static_cast<ScToken*>(rCell.pValidRefToken->Clone());
else
pValidRefToken = NULL;
pCode = (rCell.pCode) ? rCell.pCode->Clone() : NULL;
if ( nCloneFlags & SC_CLONECELL_ADJUST3DREL )
......
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