From a93b47c0a788771cc761f37e610985cbeb971a1e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 27 Nov 2020 10:27:48 +0100 Subject: [PATCH] CComVariant.lVal is of type LONG Change-Id: I2f27089b37a5a73242bfb56d68db765a29dc4efe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106725 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- extensions/source/ole/unoconversionutilities.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index 32788abc4ad5..449941b202d9 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -1957,7 +1957,7 @@ void UnoConversionUtilities::dispatchExObject2Sequence( const VARIANTARG* pva if( FAILED( VariantChangeType( &result, &result, 0, VT_I4))) throw BridgeRuntimeError("[automation bridge] UnoConversionUtilities::dispatchExObject2Sequence \n" "Conversion of dispatch object to Sequence failed!"); - long length= result.lVal; + LONG length= result.lVal; result.Clear();