summaryrefslogtreecommitdiff
path: root/cli_ure/source/uno_bridge/cli_data.cxx
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-11 20:08:46 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-12 14:53:26 +0000
commit49dff05943db6e58c5216e85fd2923d8da9ebbb5 (patch)
tree48437e3de76773dc27b28f1bb7273550952abb93 /cli_ure/source/uno_bridge/cli_data.cxx
parent82a26c4bd03af4596ec0add69a52d20c77544144 (diff)
cli_ure: fix dbglevel=2 build on windows
Some blocks are completely unused. According to http://msdn.microsoft.com/de-de/library/ms235298.aspx rtl_uString * __pin * pp_sInterfaces = &_sInterfaces; should be pin_ptr<rtl_uString *> pp_sInterfaces = &_sInterfaces; Change-Id: I039e94649d542fb5b51231b2e0df0a4dc1170c19 Reviewed-on: https://gerrit.libreoffice.org/9318 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
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, 0 insertions, 10 deletions
diff --git a/cli_ure/source/uno_bridge/cli_data.cxx b/cli_ure/source/uno_bridge/cli_data.cxx
index a5e2f38eab87..9e3a32782b7a 100644
--- a/cli_ure/source/uno_bridge/cli_data.cxx
+++ b/cli_ure/source/uno_bridge/cli_data.cxx
@@ -1064,12 +1064,6 @@ void Bridge::map_to_uno(void * uno_data, System::Object^ cli_data,
for (; nPos < nMembers; ++nPos)
{
member_type= comp_td->ppTypeRefs[nPos];
-#if OSL_DEBUG_LEVEL >= 2
- System::String* __s;
- sr::FieldInfo* arFields[];
- __s = mapUnoString(comp_td->ppMemberNames[nPos]);
- arFields = cliType != NULL ? cliType->GetFields() : NULL;
-#endif
System::Object^ val= nullptr;
if (cli_data != nullptr)
{
@@ -1614,10 +1608,6 @@ void Bridge::map_to_cli(
OUString usMessageMember("Message");
for (int i = 0; i < pCTD->nMembers; i ++)
{
-#if OSL_DEBUG_LEVEL >= 2
- System::String* sMember;
- sMember = mapUnoString(pCTD->ppMemberNames[i]);
-#endif
if (usMessageMember.equals(pCTD->ppMemberNames[i]))
{
nPos = i;