diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-11 10:22:42 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-11 18:36:16 +0100 |
commit | 417c0c7b711fbd82a874c8f43c1b2a8f4631e236 (patch) | |
tree | 9d6fcee2846b6c911f713079aa13f45230f9ddd3 /sd/source/ui/view | |
parent | 13333b72bc8f0627fb934a25de63c8c789fd725d (diff) |
TransferableDataHelper::CreateFromSelection doesn't use its argument
Change-Id: Id43995411d850ae051d1d803bcea2745e1dc17a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112331
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/drviews4.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews4.cxx b/sd/source/ui/view/drviews4.cxx index fa8d9672e2d5..62e23e5b8e7e 100644 --- a/sd/source/ui/view/drviews4.cxx +++ b/sd/source/ui/view/drviews4.cxx @@ -493,7 +493,7 @@ void DrawViewShell::Command(const CommandEvent& rCEvt, ::sd::Window* pWin) if( rCEvt.GetCommand() == CommandEventId::PasteSelection && !bNativeShow ) { - TransferableDataHelper aDataHelper( TransferableDataHelper::CreateFromSelection( GetActiveWindow() ) ); + TransferableDataHelper aDataHelper(TransferableDataHelper::CreateFromPrimarySelection()); if( aDataHelper.GetTransferable().is() ) { |