diff options
author | Peter Foley <pefoley2@verizon.net> | 2013-04-24 17:31:42 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2013-04-24 21:28:47 +0000 |
commit | fe4ffd81045144ffb8d69ae9e5df7ef191005128 (patch) | |
tree | b153e3add60cf16777884d352d1d5138915f5401 /cli_ure/source | |
parent | d3ea57d8261d193a18f2485b49badf0a3d5d2fda (diff) |
fdo#61503 fix cli_cppuhelper bootstrap error
Change-Id: I777d2d866cfc8b2363b418fd5cba6576e3a2b8ec
Reviewed-on: https://gerrit.libreoffice.org/3600
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
Diffstat (limited to 'cli_ure/source')
-rw-r--r-- | cli_ure/source/native/native_share.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli_ure/source/native/native_share.h b/cli_ure/source/native/native_share.h index 3c37f6c4f6bb..700577fff666 100644 --- a/cli_ure/source/native/native_share.h +++ b/cli_ure/source/native/native_share.h @@ -62,7 +62,7 @@ inline ::System::Object ^ to_cli( intptr_t intptr = reinterpret_cast< intptr_t >( mapping.mapInterface( x.get(), ::getCppuType( &x ) ) ); - ::System::Runtime::InteropServices::GCHandle ^ handle = (::System::Runtime::InteropServices::GCHandle ^)(gcnew ::System::IntPtr(intptr)); + ::System::Runtime::InteropServices::GCHandle ^ handle = ::System::Runtime::InteropServices::GCHandle::FromIntPtr(gcnew ::System::IntPtr(intptr)); ::System::Object ^ ret = handle->Target; handle->Free(); return ret; |