[Libreoffice-commits] core.git: extensions/source
Tor Lillqvist
tml at collabora.com
Fri Jun 8 15:17:27 UTC 2018
extensions/source/ole/unoobjw.cxx | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
New commits:
commit 8fef261588c40b8bd85395650afbaf0c9dbdac72
Author: Tor Lillqvist <tml at collabora.com>
Date: Fri Jun 8 16:08:29 2018 +0300
Log all the names being looked up in GetIDsOfNames()
Change-Id: Ia116021ecc9f20c82622a4bc8ee40e7a9a1508fa
Reviewed-on: https://gerrit.libreoffice.org/55479
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Tor Lillqvist <tml at collabora.com>
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
More information about the Libreoffice-commits
mailing list