[Libreoffice-commits] core.git: extensions/source

Tor Lillqvist tml at collabora.com
Thu May 31 16:22:10 UTC 2018


 extensions/source/ole/servprov.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 9d2e7c3c07b471a89e7fc375eb9094510a3cacd7
Author: Tor Lillqvist <tml at collabora.com>
Date:   Thu May 31 19:04:25 2018 +0300

    Log the call to CoRegisterClassObject()
    
    Change-Id: Idfca38ec2c931572b6978440862c7bfca8d536e6

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);
 }
 


More information about the Libreoffice-commits mailing list