From 960adc19ecc362bb940746db6a5cd0705cfab9ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20Sch=C3=B6nheit?= Date: Wed, 28 Mar 2001 07:18:15 +0000 Subject: [PATCH] +StartStringDrag --- svtools/source/misc/stringtransfer.cxx | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/svtools/source/misc/stringtransfer.cxx b/svtools/source/misc/stringtransfer.cxx index df8b09beca9e..c87b1665d8ea 100644 --- a/svtools/source/misc/stringtransfer.cxx +++ b/svtools/source/misc/stringtransfer.cxx @@ -2,9 +2,9 @@ * * $RCSfile: stringtransfer.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: fs $ $Date: 2001-03-27 14:35:35 $ + * last change: $Author: fs $ $Date: 2001-03-28 08:18:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -132,6 +132,14 @@ namespace svt return sal_False; } + //-------------------------------------------------------------------- + void OStringTransfer::StartStringDrag( const ::rtl::OUString& _rContent, Window* _pWindow, sal_Int8 _nDragSourceActions ) + { + OStringTransferable* pTransferable = new OStringTransferable( _rContent ); + Reference< XTransferable > xTransfer = pTransferable; + pTransferable->StartDrag(_pWindow, _nDragSourceActions); + } + //........................................................................ } // namespace svt //........................................................................ @@ -139,6 +147,9 @@ namespace svt /************************************************************************* * history: * $Log: not supported by cvs2svn $ + * Revision 1.1 2001/03/27 14:35:35 fs + * initial checkin - helper classes for clipboard handling of strings + * * * Revision 1.0 27.03.01 14:43:33 fs ************************************************************************/