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

Stephan Bergmann sbergman at redhat.com
Fri Jun 1 12:16:31 UTC 2018


 extensions/source/ole/unoconversionutilities.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 501f1b6764ab93230e85ede520baf48d308d4ba9
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jun 1 11:31:52 2018 +0200

    loplugin:unoany (clang-cl)
    
    Change-Id: I2a27c41ed2045cca8b8efb5f9d07f3015c67f8a1
    Reviewed-on: https://gerrit.libreoffice.org/55169
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx
index f0ef703bd845..f04466efe73c 100644
--- a/extensions/source/ole/unoconversionutilities.hxx
+++ b/extensions/source/ole/unoconversionutilities.hxx
@@ -1397,7 +1397,7 @@ void UnoConversionUtilities<T>::createUnoObjectWrapper(const Any & rObj, VARIANT
     {
         Sequence<Any> params(2);
         params.getArray()[0] = rObj;
-        params.getArray()[1] = makeAny(OUString("FromOLE"));
+        params.getArray()[1] <<= OUString("FromOLE");
         Reference<XInterface> xInt2 = xInvFactory->createInstanceWithArguments(params);
         xInv.set(xInt2, UNO_QUERY);
     }


More information about the Libreoffice-commits mailing list