summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-06-11 20:10:48 +0300
committerAndras Timar <andras.timar@collabora.com>2018-06-30 12:40:14 +0200
commite188baafd0ee6e6d6764b5c8b6a87d8946b6465f (patch)
tree9eba2fcd2933aa1a0b00be7aa2be7427802158c4 /extensions
parentd431f1b1137d5e99941926c772ee9af88c98e5c0 (diff)
Show also args in the SAL_INFO in InterfaceOleWrapper::Invoke()
Change-Id: I8d1d3273fcafe1ce750e66e55712eac607722717 Reviewed-on: https://gerrit.libreoffice.org/55655 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@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 08095e923eeb..fdc3a85a64e2 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -29,6 +29,7 @@
#include <stdio.h>
#include <list>
+#include <sstream>
#include <unordered_map>
#include <vector>
@@ -1767,7 +1768,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;