diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-06 18:08:03 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-06 18:10:01 -0500 |
commit | 16442998b8b6ac7e284ab2377013f36c28b2cb8c (patch) | |
tree | db7380cd104beb3ba79f3a2f2a3bb06f72a8e109 | |
parent | 642d0c9abc30b5f9c06abe4d91b55fdf06427ce5 (diff) |
fdo#74553: Use the shared formula column position Excel tells you...
Because sometimes this may be correct.
Change-Id: Id2c47bb4ad3f91b366a25306169de58bb38c1e81
-rw-r--r-- | sc/source/filter/excel/excform.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |