diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-05-14 09:35:23 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-05-14 15:21:36 +0200 |
commit | 28062c62818ce40c17fb67b480612f8bb9bcd522 (patch) | |
tree | fcea7ce07b17e435d185a5804f272b7fbb52c437 /sc/source/core/data/cell.cxx | |
parent | a233a98a90b81ea12e050a77aa4ccbfe5457ab7e (diff) |
formulas in color scales should not be changed to external references
Change-Id: Ie85bd4320324ef932102576ca4ccf32c3527796c
Diffstat (limited to 'sc/source/core/data/cell.cxx')
-rw-r--r-- | sc/source/core/data/cell.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/cell.cxx b/sc/source/core/data/cell.cxx index 3af1a1bf2581..5fbcbb9f42af 100644 --- a/sc/source/core/data/cell.cxx +++ b/sc/source/core/data/cell.cxx @@ -812,7 +812,7 @@ ScFormulaCell::ScFormulaCell( const ScFormulaCell& rCell, ScDocument& rDoc, cons } bool bCopyBetweenDocs = pDocument->GetPool() != rCell.pDocument->GetPool(); - if (bCopyBetweenDocs) + if (bCopyBetweenDocs && !(nCloneFlags & SC_CLONECELL_NOMAKEABS_EXTERNAL)) { pCode->ReadjustAbsolute3DReferences( rCell.pDocument, &rDoc, rCell.aPos); } |