summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-04-25 19:07:12 +0300
committerTor Lillqvist <tml@collabora.com>2018-05-31 15:46:25 +0300
commitbfedeb79937aa5e8bdf01ecf6be25e2bbe8a6db5 (patch)
treeecf555451d7eef3c896069adab3ba1034e417033 /extensions
parent034e8bfafadf3dfe930447696b7a686345aa6632 (diff)
Need to enter the AutomationInvokedZone here, too
Change-Id: I2723146f2c549c630dfa0e5da330af228cb305a0
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 45e693b20982..de929c621778 100644
--- a/extensions/source/ole/servprov.cxx
+++ b/extensions/source/ole/servprov.cxx
@@ -29,6 +29,7 @@
#include "oleobjw.hxx"
#include <com/sun/star/script/CannotConvertException.hpp>
+#include <comphelper/automationinvokedzone.hxx>
#include <comphelper/windowsdebugoutput.hxx>
#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
@@ -139,6 +140,8 @@ STDMETHODIMP OneInstanceOleWrapper::CreateInstance(IUnknown FAR* punkOuter,
REFIID riid,
void FAR* FAR* ppv)
{
+ comphelper::Automation::AutomationInvokedZone aAutomationActive;
+
SAL_INFO("extensions.olebridge", "OneInstanceOleWrapper::CreateInstance(" << riid << ")");
HRESULT ret = ResultFromScode(E_UNEXPECTED);