summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorHenry Castro <hcvcastro@gmail.com>2015-03-06 13:51:25 -0400
committerAndras Timar <andras.timar@collabora.com>2015-03-09 10:44:04 +0100
commit0b2fe6965d76689fc55495f7be28cb90d7f42f1f (patch)
tree823131ad2af050c94b6d23483a7a997b0d9aee09 /sc/source
parenta631ee21f2478c976bce23898d84a6529296087f (diff)
Resolves tdf#80137 Paste array formula into range pastes as non-array formula
Reviewed-on: https://gerrit.libreoffice.org/14770 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com> (cherry picked from commit 097a16b59884c777f724cec6c5d42734974ed44b) Conflicts: sc/qa/unit/ucalc.cxx sc/qa/unit/ucalc.hxx Change-Id: I500008b32e5af07702b76afb901a3ec270453462
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/core/data/column4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/column4.cxx b/sc/source/core/data/column4.cxx
index 19c2c2ca7d9a..42a260d9d694 100644
--- a/sc/source/core/data/column4.cxx
+++ b/sc/source/core/data/column4.cxx
@@ -365,7 +365,7 @@ void ScColumn::CloneFormulaCell( const ScFormulaCell& rSrc, const std::vector<sc
xGroup->compileCode(*pDocument, aPos, pDocument->GetGrammar());
for (size_t i = 0; i < nLen; ++i, aPos.IncRow())
{
- ScFormulaCell* pCell = new ScFormulaCell(pDocument, aPos, xGroup);
+ ScFormulaCell* pCell = new ScFormulaCell(pDocument, aPos, xGroup, pDocument->GetGrammar(), rSrc.GetMatrixFlag());
if (i == 0)
{
xGroup->mpTopCell = pCell;