Kaydet (Commit) 9d2e7c3c authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Log the call to CoRegisterClassObject()

Change-Id: Idfca38ec2c931572b6978440862c7bfca8d536e6
üst a28fa7a4
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment