summaryrefslogtreecommitdiff
path: root/sw/source/uibase/docvw/edtwin.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-03-11 10:22:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-03-11 18:36:16 +0100
commit417c0c7b711fbd82a874c8f43c1b2a8f4631e236 (patch)
tree9d6fcee2846b6c911f713079aa13f45230f9ddd3 /sw/source/uibase/docvw/edtwin.cxx
parent13333b72bc8f0627fb934a25de63c8c789fd725d (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/docvw/edtwin.cxx')
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx2
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;