diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-01-21 17:21:29 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-09-19 22:43:09 +0200 |
commit | c417c4c231d43d5e6914b4ec833544006447b579 (patch) | |
tree | ac23b861ef5453c294a3bf6488287f729a640bc4 /extensions | |
parent | 489e1ff053584f2d6eb9a62a23bbbeead8879c46 (diff) |
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 <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/ole/unoobjw.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
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"); } } } |