diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-06-08 16:08:29 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-06-08 16:52:38 +0300 |
commit | fe57da646d0f458eee20071a0565169f5f4ee3e7 (patch) | |
tree | e250174607a48269c019f4eb7e27795f30f636ab /extensions | |
parent | 5ea0d9dfc3319c37fd5505f6504640de96386ce8 (diff) |
Log all the names being looked up in GetIDsOfNames()
Change-Id: Ia116021ecc9f20c82622a4bc8ee40e7a9a1508fa
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/ole/unoobjw.cxx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx index df8932374896..cbbef90f7d42 100644 --- a/extensions/source/ole/unoobjw.cxx +++ b/extensions/source/ole/unoobjw.cxx @@ -1074,9 +1074,17 @@ STDMETHODIMP InterfaceOleWrapper::GetIDsOfNames(REFIID /*riid*/, { comphelper::Automation::AutomationInvokedZone aAutomationActive; - SAL_INFO("extensions.olebridge", this << "@InterfaceOleWrapper::GetIDsOfNames(" - << OUString(o3tl::toU(rgszNames[0])) - << (cNames > 1 ? "...!" : "") << "," << cNames << ")"); + OUString sNames; + sNames += "["; + for (unsigned int i = 0; i < cNames; ++i) + { + if (i > 0) + sNames += ","; + sNames += "\"" + OUString(o3tl::toU(rgszNames[i])) + "\""; + } + sNames += "]"; + + SAL_INFO("extensions.olebridge", this << "@InterfaceOleWrapper::GetIDsOfNames(" << sNames); HRESULT ret = DISP_E_UNKNOWNNAME; try |