diff options
author | Oliver Bolte <obo@openoffice.org> | 2004-11-15 15:34:17 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2004-11-15 15:34:17 +0000 |
commit | aa33164819cfebbe6de2ed7f37878cebaf3d7b74 (patch) | |
tree | dea7de3392089ddfab58d576068c1b5df7dc704d /sc/source/core | |
parent | 81425f27d703266a426bee2c1d00a6dca89cae61 (diff) |
INTEGRATION: CWS calc25 (1.62.74); FILE MERGED
2004/11/09 15:44:54 er 1.62.74.1: #i36299# UpdateReference: don't duplicate start/end listeners action during cut&paste / drag&drop
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/data/document.cxx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx index 26ce22122005..5271bdbf95d9 100644 --- a/sc/source/core/data/document.cxx +++ b/sc/source/core/data/document.cxx @@ -2,9 +2,9 @@ * * $RCSfile: document.cxx,v $ * - * $Revision: 1.62 $ + * $Revision: 1.63 $ * - * last change: $Author: hr $ $Date: 2004-09-08 16:21:57 $ + * last change: $Author: obo $ $Date: 2004-11-15 16:34:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1553,9 +1553,14 @@ void ScDocument::CopyBlockFromClip( SCCOL nCol1, SCROW nRow1, ++nFollow; if ( pCBFCP->pClipDoc->bCutMode ) + { + BOOL bOldInserting = IsInsertingFromOtherDoc(); + SetInsertingFromOtherDoc( TRUE); UpdateReference( URM_MOVE, nCol1, nRow1, i, nCol2, nRow2, i+nFollow, nDx, nDy, nDz, pCBFCP->pRefUndoDoc ); + SetInsertingFromOtherDoc( bOldInserting); + } else UpdateReference( URM_COPY, nCol1, nRow1, i, nCol2, nRow2, i+nFollow, |