diff options
author | Release Engineers <releng@openoffice.org> | 2009-07-08 13:14:27 +0000 |
---|---|---|
committer | Release Engineers <releng@openoffice.org> | 2009-07-08 13:14:27 +0000 |
commit | 583eecc5bfa14803c949278910a5329d837ca95f (patch) | |
tree | 97d987a1f3317d639c9b4ccc1385d85b35ee645c | |
parent | 7891c97150152346a2070e1c9c7a32b28eec4423 (diff) |
#i10000# fix for error from dr70
-rw-r--r-- | sc/source/core/data/column3.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx index 521f6e736..b2c954aa5 100644 --- a/sc/source/core/data/column3.cxx +++ b/sc/source/core/data/column3.cxx @@ -782,7 +782,8 @@ void ScColumn::CopyFromClip(SCROW nRow1, SCROW nRow2, long nDy, DBG_ASSERT( !pAddNoteCell->HasNote(), "ScColumn::CopyFromClip - unexpected note at destination cell" ); bool bCloneCaption = (nInsFlag & IDF_NOCAPTIONS) == 0; // #i52342# if caption is cloned, the note must be constructed with the destination document - ScPostIt* pNewNote = ScNoteUtil::CloneNote( *pDocument, aDestPos, *pSourceNote, bCloneCaption ); + ScAddress aSourcePos( rColumn.nCol, rColumn.pItems[i].nRow, rColumn.nTab ); + ScPostIt* pNewNote = pSourceNote->Clone( aSourcePos, *pDocument, aDestPos, bCloneCaption ); pAddNoteCell->TakeNote( pNewNote ); } } |