[Libreoffice-commits] .: Branch 'libreoffice-3-5' - sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Thu Mar 1 10:11:22 PST 2012
sc/source/core/data/cell.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 94d4301ac51589f0f5ae39039c0f1f7379677b3a
Author: Markus Mohrhard <markus.mohrhard at 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.yoshida at 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());
More information about the Libreoffice-commits
mailing list