summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2002-07-01 15:42:35 +0000
committerNiklas Nebel <nn@openoffice.org>2002-07-01 15:42:35 +0000
commitca183c40f7703f433abfe5d667356f22d1a1bbf0 (patch)
tree3387043ba4195f724d1db1142e90c2b3b9480acf /sc
parent28dba9e76dc62743785ca06fca4249c89047851a (diff)
#100125# PasteRTF: use InsertText(XTransferable) for EditEngine format
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/view/viewfun4.cxx15
1 files changed, 4 insertions, 11 deletions
diff --git a/sc/source/ui/view/viewfun4.cxx b/sc/source/ui/view/viewfun4.cxx
index 5692756d412a..cb01e99e555a 100644
--- a/sc/source/ui/view/viewfun4.cxx
+++ b/sc/source/ui/view/viewfun4.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: viewfun4.cxx,v $
*
- * $Revision: 1.17 $
+ * $Revision: 1.18 $
*
- * last change: $Author: nn $ $Date: 2001-10-26 18:19:14 $
+ * last change: $Author: nn $ $Date: 2002-07-01 16:42:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -150,15 +150,8 @@ void ScViewFunc::PasteRTF( USHORT nStartCol, USHORT nStartRow,
EditView aEditView( pEngine, &aWin );
aEditView.SetOutputArea(Rectangle(0,0,100000,100000));
- if (bPasteIsDrop)
- {
- //! paste drag server content into EditEngine
- //DropEvent aDropEvt;
- //if (aEditView.QueryDrop( aDropEvt ))
- // aEditView.Drop( aDropEvt );
- }
- else
- aEditView.PasteSpecial();
+ // same method now for clipboard or drag&drop
+ aEditView.InsertText( rxTransferable, TRUE );
}
ULONG nParCnt = pEngine->GetParagraphCount();