summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-05-31 19:04:25 +0300
committerTor Lillqvist <tml@collabora.com>2018-05-31 22:04:43 +0300
commit8690db361a14aaf7de199d2a41aaead885dd3fd5 (patch)
tree23869b422d9a210a96d7076b1671532664c1db91 /extensions
parent6cdecbd9581754f47b5dd9f46ec8df0f699fb950 (diff)
Log the call to CoRegisterClassObject()
Change-Id: Idfca38ec2c931572b6978440862c7bfca8d536e6 (cherry picked from commit 9d2e7c3c07b471a89e7fc375eb9094510a3cacd7)
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/servprov.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/source/ole/servprov.cxx b/extensions/source/ole/servprov.cxx
index 687b2f58465a..f90cb56c9803 100644
--- a/extensions/source/ole/servprov.cxx
+++ b/extensions/source/ole/servprov.cxx
@@ -31,6 +31,7 @@
#include <com/sun/star/script/CannotConvertException.hpp>
#include <comphelper/automationinvokedzone.hxx>
#include <comphelper/windowsdebugoutput.hxx>
+#include <comphelper/windowserrorstring.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <o3tl/any.hxx>
@@ -92,6 +93,8 @@ bool OneInstanceOleWrapper::registerClass(GUID const * pGuid)
REGCLS_MULTIPLEUSE,
&m_factoryHandle);
+ SAL_INFO("extensions.olebridge", "CoRegisterClassObject(" << *pGuid << "): " << WindowsErrorStringFromHRESULT(hresult));
+
return (hresult == NOERROR);
}