Kaydet (Commit) 3ec34d64 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

SAL_INFO also for parameter names that are not found

Change-Id: I1b3fd47a23002673cb81811ebfd0034ca546d837
üst ab8e0f58
......@@ -1191,15 +1191,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");
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment