summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-06-11 20:10:48 +0300
committerTor Lillqvist <tml@collabora.com>2018-06-11 22:38:05 +0200
commitcd4f4e65f12ab8c75d35bec4f280acc04cc924f9 (patch)
tree7336fdeb11a407a224b7b53e22f36060e25da035 /extensions
parente6ee3d71ac544ac8fb15f3f318e4da9db95407c1 (diff)
Show also args in the SAL_INFO in InterfaceOleWrapper::Invoke()
Change-Id: I8d1d3273fcafe1ce750e66e55712eac607722717 Reviewed-on: https://gerrit.libreoffice.org/55643 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/unoobjw.cxx16
1 files changed, 15 insertions, 1 deletions
diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index 9c7f6d4b0ae6..f04254ed0edf 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <list>
+#include <sstream>
#include <unordered_map>
#include <vector>
@@ -1789,7 +1790,20 @@ STDMETHODIMP InterfaceOleWrapper::Invoke(DISPID dispidMember,
{
comphelper::Automation::AutomationInvokedZone aAutomationActive;
- SAL_INFO("extensions.olebridge", this << "@InterfaceOleWrapper::Invoke(" << dispidMember << ")");
+ OUString sParams;
+#if defined SAL_LOG_INFO
+ sParams += "[";
+ for (unsigned int i = 0; i < pdispparams->cArgs; ++i)
+ {
+ if (i > 0)
+ sParams += ",";
+ std::stringstream aStringStream;
+ aStringStream << pdispparams->rgvarg[i];
+ sParams += OUString::createFromAscii(aStringStream.str().c_str());
+ }
+ sParams += "]";
+#endif
+ SAL_INFO("extensions.olebridge", this << "@InterfaceOleWrapper::Invoke(" << dispidMember << "," << sParams << ")");
comphelper::ProfileZone aZone("COM Bridge");
HRESULT ret = S_OK;