diff options
Diffstat (limited to 'sw/source/uibase/utlui/content.cxx')
-rw-r--r-- | sw/source/uibase/utlui/content.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index ee788fd86840..796bfb10ebf7 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -1008,9 +1008,7 @@ void SwContentTree::StartDrag( sal_Int8 nAction, const Point& rPosPixel ) { ReleaseMouse(); - TransferDataContainer* pContainer = new TransferDataContainer; - uno::Reference< - datatransfer::XTransferable > xRef( pContainer ); + rtl::Reference<TransferDataContainer> pContainer = new TransferDataContainer; sal_Int8 nDragMode = DND_ACTION_COPYMOVE | DND_ACTION_LINK; if( FillTransferData( *pContainer, nDragMode )) |