extensions/source/ole/unoobjw.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit c417c4c231d43d5e6914b4ec833544006447b579 Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Mon Jan 21 17:21:29 2019 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Thu Sep 19 22:43:09 2019 +0200 SAL_INFO also for parameter names that are not found Change-Id: I1b3fd47a23002673cb81811ebfd0034ca546d837 (cherry picked from commit b8b8f358da1b81f85c056ea32dd9372e641b345e) Reviewed-on: https://gerrit.libreoffice.org/79151 Reviewed-by: Tor Lillqvist <t...@collabora.com> Tested-by: Tor Lillqvist <t...@collabora.com> diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx index 8897f0c5644f..03314e44f506 100644 --- a/extensions/source/ole/unoobjw.cxx +++ b/extensions/source/ole/unoobjw.cxx @@ -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"); } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits