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 /sw/source/uibase | |
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 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index 05595d9a23ff..1f95f9bdea31 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -5605,7 +5605,7 @@ void SwEditWin::Command( const CommandEvent& rCEvt ) if( !m_rView.GetDocShell()->IsReadOnly() ) { TransferableDataHelper aDataHelper( - TransferableDataHelper::CreateFromSelection( this )); + TransferableDataHelper::CreateFromPrimarySelection()); if( !aDataHelper.GetXTransferable().is() ) break; |