[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Fri Feb 7 00:52:22 PST 2014
sc/source/filter/excel/excform.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit a1c6bed17f373947ee41d395fb380b663fba5d64
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Thu Feb 6 18:08:03 2014 -0500
fdo#74553: Use the shared formula column position Excel tells you...
Because sometimes this may be correct.
Change-Id: Id2c47bb4ad3f91b366a25306169de58bb38c1e81
(cherry picked from commit 16442998b8b6ac7e284ab2377013f36c28b2cb8c)
Reviewed-on: https://gerrit.libreoffice.org/7908
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/sc/source/filter/excel/excform.cxx b/sc/source/filter/excel/excform.cxx
index 0273ddd..644485f 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)
{
More information about the Libreoffice-commits
mailing list