diff options
author | Tor Lillqvist <tml@collabora.com> | 2018-05-31 19:04:25 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2018-05-31 19:20:14 +0300 |
commit | 9d2e7c3c07b471a89e7fc375eb9094510a3cacd7 (patch) | |
tree | 366bd36772856b44491c2d1415fff0da4c19eddd /extensions | |
parent | a28fa7a41a9e9e7b02d359587171abd761a91ae8 (diff) |
Log the call to CoRegisterClassObject()
Change-Id: Idfca38ec2c931572b6978440862c7bfca8d536e6
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/ole/servprov.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/source/ole/servprov.cxx b/extensions/source/ole/servprov.cxx index de929c621778..f0ebc858f841 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); } |