summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-05-31 17:49:11 +0300
committerTor Lillqvist <tml@collabora.com>2018-05-31 17:49:11 +0300
commit2b7690d5a1a2c3064b47bd2648ba2452bf4726af (patch)
treec106ffd6c8db55fde5d536abd080700c2eb3d548 /extensions
parentd79fe79a53899c5b3273a40b77cdc4ee151f07f0 (diff)
Revert "Simplify: Use AutomationInvokedZone::isActive()"
Can't have the URE library 'stoc' depend on the non-URE library 'comphelper'. This reverts commit 3c041720304ec77202741b5d5c8df9b93bc70a70.
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/ole/unoconversionutilities.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx
index cbec71299953..f0ef703bd845 100644
--- a/extensions/source/ole/unoconversionutilities.hxx
+++ b/extensions/source/ole/unoconversionutilities.hxx
@@ -1395,8 +1395,9 @@ void UnoConversionUtilities<T>::createUnoObjectWrapper(const Any & rObj, VARIANT
Reference<XSingleServiceFactory> xInvFactory= getInvocationFactory(rObj);
if (xInvFactory.is())
{
- Sequence<Any> params(1);
+ Sequence<Any> params(2);
params.getArray()[0] = rObj;
+ params.getArray()[1] = makeAny(OUString("FromOLE"));
Reference<XInterface> xInt2 = xInvFactory->createInstanceWithArguments(params);
xInv.set(xInt2, UNO_QUERY);
}