From 16442998b8b6ac7e284ab2377013f36c28b2cb8c Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Thu, 6 Feb 2014 18:08:03 -0500 Subject: [PATCH] fdo#74553: Use the shared formula column position Excel tells you... Because sometimes this may be correct. Change-Id: Id2c47bb4ad3f91b366a25306169de58bb38c1e81 --- sc/source/filter/excel/excform.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sc/source/filter/excel/excform.cxx b/sc/source/filter/excel/excform.cxx index 6d925fb5122e..cf44d3c0e6cb 100644 --- a/sc/source/filter/excel/excform.cxx +++ b/sc/source/filter/excel/excform.cxx @@ -124,7 +124,7 @@ void ImportExcel::Formula( SCROW nSharedRow; if (pFormConv->ReadSharedFormulaPosition(maStrm, nSharedCol, nSharedRow)) { - ScAddress aRefPos(aScPos.Col(), nSharedRow, GetCurrScTab()); + ScAddress aRefPos(nSharedCol, nSharedRow, GetCurrScTab()); const ScTokenArray* pSharedCode = pFormConv->GetSharedFormula(aRefPos); if (pSharedCode) {