sc/source/core/data/cell.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 94d4301ac51589f0f5ae39039c0f1f7379677b3a Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Thu Mar 1 12:59:14 2012 +0100 use the correct db range for the copy, fdo#46712 Signed-off-by: Kohei Yoshida <kohei.yosh...@suse.com> diff --git a/sc/source/core/data/cell.cxx b/sc/source/core/data/cell.cxx index 8ddc540..9b431fa 100644 --- a/sc/source/core/data/cell.cxx +++ b/sc/source/core/data/cell.cxx @@ -226,7 +226,7 @@ void adjustDBRange(ScToken* pToken, ScDocument& rNewDoc, const ScDocument* pOldD ScDBData* pNewDBData = aNewNamedDBs.findByName(aDBName); if (!pNewDBData) { - pNewDBData = new ScDBData(*pNewDBData); + pNewDBData = new ScDBData(*pDBData); aNewNamedDBs.insert(pNewDBData); } pToken->SetIndex(pNewDBData->GetIndex()); _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits