[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - extensions/source
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 19 20:44:04 UTC 2019
extensions/source/ole/unoobjw.cxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit c417c4c231d43d5e6914b4ec833544006447b579
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Mon Jan 21 17:21:29 2019 +0200
Commit: Tor Lillqvist <tml at 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 <tml at collabora.com>
Tested-by: Tor Lillqvist <tml at 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");
}
}
}
More information about the Libreoffice-commits
mailing list