summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-01-21 17:21:29 +0200
committerTor Lillqvist <tml@collabora.com>2019-01-21 17:21:29 +0200
commitb8b8f358da1b81f85c056ea32dd9372e641b345e (patch)
tree29147261c0f085145385e7e82a58ae6a8b4a8e9f /extensions
parent5aeeff325b98374bfbd08e9e69de4ed8ce2340cc (diff)
SAL_INFO also for parameter names that are not found
Change-Id: I1b3fd47a23002673cb81811ebfd0034ca546d837
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/unoobjw.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index 213f2521b56f..798418f482d7 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -1189,15 +1189,19 @@ STDMETHODIMP InterfaceOleWrapper::GetIDsOfNames(REFIID /*riid*/,
auto aParamInfos = xIdlMethod->getParameterInfos();
for (unsigned int i = 1; i < cNames; ++i)
{
+ bool bFound = false;
for (int j = 0; j < aParamInfos.getLength(); ++j)
{
if (aParamInfos[j].aName.equalsIgnoreAsciiCase(OUString(o3tl::toU(rgszNames[i]))))
{
rgdispid[i] = j;
+ bFound = true;
SAL_INFO("extensions.olebridge", " " << OUString(o3tl::toU(rgszNames[i])) << ": " << rgdispid[i]);
break;
}
}
+ if (!bFound)
+ SAL_INFO("extensions.olebridge", " " << OUString(o3tl::toU(rgszNames[i])) << ": NOT FOUND");
}
}
}