summaryrefslogtreecommitdiff
path: root/sc/source/core/data/column3.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-02-13 17:11:47 +0100
committerEike Rathke <erack@redhat.com>2018-02-13 18:46:09 +0100
commit271d9ebfe0c4fc57ea6f01a9c048021e5429dd15 (patch)
tree162c3465e354c9bab5bb10f1778e8927333c82f0 /sc/source/core/data/column3.cxx
parent5a93c51e3b7f455ff5d4cfc9e8b6e510fc126b75 (diff)
Handle ScSetStringParam::mbCheckLinkFormula in ScColumn::ParseString()
Change-Id: Id6b0705140baacdb872560f7031efaf0c03f0e00
Diffstat (limited to 'sc/source/core/data/column3.cxx')
-rw-r--r--sc/source/core/data/column3.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 3343ea782383..d42b4479b5d5 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -1727,11 +1727,15 @@ bool ScColumn::ParseString(
rCell.set(rPool.intern(rString));
}
else // = Formula
- rCell.set(
- new ScFormulaCell(
+ {
+ ScFormulaCell* pFormulaCell = new ScFormulaCell(
GetDoc(), ScAddress(nCol, nRow, nTabP), rString,
formula::FormulaGrammar::mergeToGrammar(formula::FormulaGrammar::GRAM_DEFAULT, eConv),
- ScMatrixMode::NONE));
+ ScMatrixMode::NONE);
+ if (aParam.mbCheckLinkFormula)
+ GetDoc()->CheckLinkFormulaNeedingCheck( *pFormulaCell->GetCode());
+ rCell.set( pFormulaCell);
+ }
}
else if ( cFirstChar == '\'') // 'Text
{