diff options
author | Niklas Nebel <nn@openoffice.org> | 2002-10-10 15:56:51 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2002-10-10 15:56:51 +0000 |
commit | e9f3ef8a1801ae65c296ed1ee9bffb44f3113771 (patch) | |
tree | 90601ecb5ad2dc5baa35a0f50d9caad62f7f7473 /sc/source/ui/view/viewfun3.cxx | |
parent | 5dcb74ff9bebf1d65acbc7909e75f8889ca83784 (diff) |
#93538# Skip Empty flag for paste also affects attributes
Diffstat (limited to 'sc/source/ui/view/viewfun3.cxx')
-rw-r--r-- | sc/source/ui/view/viewfun3.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sc/source/ui/view/viewfun3.cxx b/sc/source/ui/view/viewfun3.cxx index 75d7519a3..8356b5d98 100644 --- a/sc/source/ui/view/viewfun3.cxx +++ b/sc/source/ui/view/viewfun3.cxx @@ -2,9 +2,9 @@ * * $RCSfile: viewfun3.cxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: nn $ $Date: 2002-10-09 10:58:59 $ + * last change: $Author: nn $ $Date: 2002-10-10 16:56:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -905,7 +905,7 @@ BOOL ScViewFunc::PasteFromClip( USHORT nFlags, ScDocument* pClipDoc, { // copy normally (original range) pDoc->CopyFromClip( aUserRange, rMark, nNoObjFlags, pRefUndoDoc, pClipDoc, - TRUE, FALSE, bIncludeFiltered ); + TRUE, FALSE, bIncludeFiltered, bSkipEmpty ); // bei Transpose Referenzen per Hand anpassen if ( bTranspose && bCutMode && (nFlags & IDF_CONTENTS) ) @@ -913,8 +913,9 @@ BOOL ScViewFunc::PasteFromClip( USHORT nFlags, ScDocument* pClipDoc, } else if (!bTranspose) { - // kopieren mit bAsLink=TRUE - pDoc->CopyFromClip( aUserRange, rMark, nNoObjFlags, pRefUndoDoc, pClipDoc, TRUE, TRUE, bIncludeFiltered ); + // copy with bAsLink=TRUE + pDoc->CopyFromClip( aUserRange, rMark, nNoObjFlags, pRefUndoDoc, pClipDoc, + TRUE, TRUE, bIncludeFiltered, bSkipEmpty ); } else { |