diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-01-21 17:21:29 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-01-21 17:34:31 +0200 |
commit | 3ec34d642dd062be56346cfb39d5832d423cf38e (patch) | |
tree | 405a18886cd4cae323381756142af6b3be5a3290 /extensions/source | |
parent | ab8e0f5832fa910f8b1abd36d7cb3929cbac2395 (diff) |
SAL_INFO also for parameter names that are not found
Change-Id: I1b3fd47a23002673cb81811ebfd0034ca546d837
Diffstat (limited to 'extensions/source')
-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"); } } } |