[Libreoffice-commits] .: sc/source
Markus Mohrhard
mmohrhard at kemper.freedesktop.org
Fri Mar 9 10:15:03 PST 2012
sc/source/core/data/table2.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8efa446a367546802545332db1bb68a77dc59e4c
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Fri Mar 9 19:09:47 2012 +0100
use the target document not the source document
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 2b9d141..1d09d7c 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -923,7 +923,7 @@ void ScTable::CopyToTable(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
if (bAddNotes)
{
bool bCloneCaption = (nFlags & IDF_NOCAPTIONS) == 0;
- pDestTab->maNotes.CopyFromClip(maNotes, pDocument, nCol1, nRow1, nCol2, nRow2, 0, 0, pDestTab->nTab, bCloneCaption);
+ pDestTab->maNotes.CopyFromClip(maNotes, pDestTab->pDocument, nCol1, nRow1, nCol2, nRow2, 0, 0, pDestTab->nTab, bCloneCaption);
}
if (pDBDataNoName)
More information about the Libreoffice-commits
mailing list