summaryrefslogtreecommitdiff
path: root/svx/source/editeng
diff options
context:
space:
mode:
authorMalte Timmermann <mt@openoffice.org>2001-10-29 13:19:24 +0000
committerMalte Timmermann <mt@openoffice.org>2001-10-29 13:19:24 +0000
commit67c22a222548be191e0fddcbac1737dab9f7dd0e (patch)
treec63af52cef8431ce9b031c7ca9750322aa8de328 /svx/source/editeng
parentbc0726e3ae5cd8e8936a2b8c1020f49d813d21c0 (diff)
#61679# MiddleMouseButtonUp: use Selection-Clipboard
Diffstat (limited to 'svx/source/editeng')
-rw-r--r--svx/source/editeng/impedit.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/editeng/impedit.cxx b/svx/source/editeng/impedit.cxx
index 7bafe148197e..81b1948995d5 100644
--- a/svx/source/editeng/impedit.cxx
+++ b/svx/source/editeng/impedit.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: impedit.cxx,v $
*
- * $Revision: 1.25 $
+ * $Revision: 1.26 $
*
- * last change: $Author: mt $ $Date: 2001-10-25 10:14:07 $
+ * last change: $Author: mt $ $Date: 2001-10-29 14:19:24 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1026,12 +1026,12 @@ sal_Bool ImpEditView::MouseButtonUp( const MouseEvent& rMouseEvent )
if ( rMouseEvent.IsMiddle() && !bReadOnly &&
( GetWindow()->GetSettings().GetMouseSettings().GetMiddleButtonAction() == MOUSE_MIDDLE_PASTESELECTION ) )
{
- Reference<com::sun::star::datatransfer::clipboard::XClipboard> aClipBoard(GetWindow()->GetClipboard());
+ Reference<com::sun::star::datatransfer::clipboard::XClipboard> aClipBoard(GetWindow()->GetSelection());
Paste( aClipBoard );
}
else if ( rMouseEvent.IsLeft() && GetEditSelection().HasRange() )
{
- Reference<com::sun::star::datatransfer::clipboard::XClipboard> aClipBoard(GetWindow()->GetClipboard());
+ Reference<com::sun::star::datatransfer::clipboard::XClipboard> aClipBoard(GetWindow()->GetSelection());
CutCopy( aClipBoard, FALSE );
}