[Libreoffice-commits] core.git: cli_ure/source
Tor Lillqvist
tlillqvist at suse.com
Thu Apr 25 02:48:32 PDT 2013
cli_ure/source/native/native_share.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3a77c4fa06e02a3758222b39e6359a9f504d42b2
Author: Tor Lillqvist <tlillqvist at suse.com>
Date: Thu Apr 25 12:35:49 2013 +0300
Fix compilation error after fe4ffd81045144ffb8d69ae9e5df7ef191005128
Whether it works, no idea. But on the other hand, from the dicsussion
in fdo#61503 it doesn't seem as if that commit was deeply insightful
either. (And how it compiled on the commit author's machine, no idea.)
Change-Id: If6355b33c406e8da5bdb2bf77aaf8b2ac0c39343
diff --git a/cli_ure/source/native/native_share.h b/cli_ure/source/native/native_share.h
index 700577f..7c97153 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::FromIntPtr(gcnew ::System::IntPtr(intptr));
+ ::System::Runtime::InteropServices::GCHandle ^ handle = ::System::Runtime::InteropServices::GCHandle::FromIntPtr(::System::IntPtr(intptr));
::System::Object ^ ret = handle->Target;
handle->Free();
return ret;
More information about the Libreoffice-commits
mailing list