summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2002-07-16 14:17:55 +0000
committerNiklas Nebel <nn@openoffice.org>2002-07-16 14:17:55 +0000
commit8a21f8ebc2bcf31b5749e9eeee09e95c76e8645d (patch)
tree811e991e5a2a7303a43375b598b545098e921c8e /sc/source/ui/undo
parentb89ba10c6bd4ee929c456001d80d7aacc28db929 (diff)
#101160# warning when cells are overwritten in paste
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r--sc/source/ui/undo/undoblk.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/ui/undo/undoblk.cxx b/sc/source/ui/undo/undoblk.cxx
index 2f84fdef4998..13e9d9d3a3e3 100644
--- a/sc/source/ui/undo/undoblk.cxx
+++ b/sc/source/ui/undo/undoblk.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: undoblk.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: nn $ $Date: 2002-07-15 14:31:27 $
+ * last change: $Author: nn $ $Date: 2002-07-16 15:16:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -938,7 +938,9 @@ void __EXPORT ScUndoPaste::Repeat(SfxRepeatTarget& rTarget)
ScTabViewShell* pViewSh = ((ScTabViewTarget&)rTarget).GetViewShell();
ScTransferObj* pOwnClip = ScTransferObj::GetOwnClipboard( pViewSh->GetActiveWin() );
if (pOwnClip)
- pViewSh->PasteFromClip( nFlags, pOwnClip->GetDocument() );
+ pViewSh->PasteFromClip( nFlags, pOwnClip->GetDocument(),
+ PASTE_NOFUNC, FALSE, FALSE, FALSE, INS_NONE, IDF_NONE,
+ TRUE ); // allow warning dialog
}
}