summaryrefslogtreecommitdiff
path: root/cli_ure/source/uno_bridge/cli_data.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-10-08 14:27:13 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-10-08 14:29:39 +0300
commit1b66ced2367353ad42a14bfc76ca1853c4935d6a (patch)
tree2c2e0758bb3ddbe5783adfa7e0f57c7f80a5767c /cli_ure/source/uno_bridge/cli_data.cxx
parentd4214aab9c093dab321e6deaeaf5f7e86af1381c (diff)
Managed C++ to C++/CLI conversion also for the debug code
Change-Id: Ibb4f5e386644a67905421d2f9c33336a119fca88
Diffstat (limited to 'cli_ure/source/uno_bridge/cli_data.cxx')
-rw-r--r--cli_ure/source/uno_bridge/cli_data.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/cli_ure/source/uno_bridge/cli_data.cxx b/cli_ure/source/uno_bridge/cli_data.cxx
index 3a0eb8050319..935a90be2a0a 100644
--- a/cli_ure/source/uno_bridge/cli_data.cxx
+++ b/cli_ure/source/uno_bridge/cli_data.cxx
@@ -1584,7 +1584,7 @@ void Bridge::map_to_cli(
{
if (info != nullptr)
{
- OSL_ASSERT(info->get_IsByRef());
+ OSL_ASSERT(info->IsByRef);
info= info->GetElementType();
*cli_data= System::Enum::ToObject(info, *(System::Int32*) uno_data);
}
@@ -1661,10 +1661,10 @@ void Bridge::map_to_cli(
ctorInfo = arCtorInfo[i];
break;
}
- OSL_ASSERT(arParamInfo[0]->get_ParameterType()->Equals(__typeof(System::String))
- && arParamInfo[1]->get_ParameterType()->Equals(__typeof(System::Object))
- && arParamInfo[0]->get_Position() == 0
- && arParamInfo[1]->get_Position() == 1);
+ OSL_ASSERT(arParamInfo[0]->ParameterType->Equals(System::String::typeid)
+ && arParamInfo[1]->ParameterType->Equals(System::Object::typeid)
+ && arParamInfo[0]->Position == 0
+ && arParamInfo[1]->Position == 1);
//Prepare parameters for constructor
int numArgs = arParamInfo->Length;
array<System::Object^>^ args = gcnew array<System::Object^>(numArgs);