diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-06 13:04:24 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2021-03-08 09:06:22 +0100 |
commit | 818a84c4b232518780ff12415a6dad50b3625d5d (patch) | |
tree | 6f08eef589d230eb2777c64a2eb184ca65a20164 /vcl/win/dtrans/DOTransferable.cxx | |
parent | a75799f3e904bd46cffd0bac78e3c0885ac5c447 (diff) |
[API CHANGE] Remove unused XSystemTransferable interface from CDOTransferable
This interface is only implemented on Windows' transferable; it is
not used anywhere in the codebase, and its implementation is wrong:
it passes COM interface pointer as 32-bit integer (thus truncating
64-bit pointers on Win64) to different processes, where the pointer
has no value.
This reverts commit 772fb7b3e482d537482437f5cd898093522d3fb5.
Change-Id: I828c6595ac3f7836a3c72d5498efb279938407ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112072
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/win/dtrans/DOTransferable.cxx')
-rw-r--r-- | vcl/win/dtrans/DOTransferable.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/vcl/win/dtrans/DOTransferable.cxx b/vcl/win/dtrans/DOTransferable.cxx index 029a21402bac..61edcb9a9348 100644 --- a/vcl/win/dtrans/DOTransferable.cxx +++ b/vcl/win/dtrans/DOTransferable.cxx @@ -575,23 +575,4 @@ bool CDOTransferable::compareDataFlavors( return bRet; } -css::uno::Any SAL_CALL CDOTransferable::getData( const Sequence< sal_Int8>& aProcessId ) -{ - Any retVal; - - sal_Int8 const * arProcCaller= aProcessId.getConstArray(); - sal_uInt8 arId[16]; - rtl_getGlobalProcessId(arId); - if( ! memcmp( arId, arProcCaller,16)) - { - if (m_rDataObject.is()) - { - IDataObject* pObj= m_rDataObject.get(); - pObj->AddRef(); - retVal.setValue( &pObj, cppu::UnoType<sal_uInt32>::get()); - } - } - return retVal; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |