diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-09 19:09:47 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-03-09 19:10:27 +0100 |
commit | 8efa446a367546802545332db1bb68a77dc59e4c (patch) | |
tree | a0fb3a401c7e3e59bf8b164d425550021ca137f8 /sc | |
parent | 1bb7875f275d95a0a764df5d8d6954b7e8841152 (diff) |
use the target document not the source document
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/table2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx index 2b9d1412dccf..1d09d7cf2825 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) |