diff options
Diffstat (limited to 'sw/source/uibase/dochdl/swdtflvr.cxx')
-rw-r--r-- | sw/source/uibase/dochdl/swdtflvr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index 802c726389a5..f0888e2b18ce 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -4182,7 +4182,7 @@ void SwTransferable::CreateSelection( SwWrtShell& rSh, pNew->m_pCreatorView = _pCreatorView; pMod->m_pXSelection = pNew.get(); - pNew->CopyToSelection( rSh.GetWin() ); + pNew->CopyToPrimarySelection(); } void SwTransferable::ClearSelection( SwWrtShell& rSh, @@ -4193,7 +4193,7 @@ void SwTransferable::ClearSelection( SwWrtShell& rSh, ((!pMod->m_pXSelection->m_pWrtShell) || (pMod->m_pXSelection->m_pWrtShell == &rSh)) && (!_pCreatorView || (pMod->m_pXSelection->m_pCreatorView == _pCreatorView)) ) { - TransferableHelper::ClearSelection( rSh.GetWin() ); + TransferableHelper::ClearPrimarySelection(); } } |