summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-06-08 16:08:29 +0300
committerTor Lillqvist <tml@collabora.com>2018-06-08 17:17:02 +0200
commit8fef261588c40b8bd85395650afbaf0c9dbdac72 (patch)
tree474f56788daa375c14e5c858ee5de0e7fefc9b5a /extensions
parenta4ab0c08e74746a96dcf23c3d50cd2e65ee31342 (diff)
Log all the names being looked up in GetIDsOfNames()
Change-Id: Ia116021ecc9f20c82622a4bc8ee40e7a9a1508fa Reviewed-on: https://gerrit.libreoffice.org/55479 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/unoobjw.cxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index ca31169b1b6f..2ec57765b45e 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -1071,9 +1071,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