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 <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann 2020-11-27 10:27:48 +01:00
parent 71b66b0039
commit a93b47c0a7

View file

@ -1957,7 +1957,7 @@ void UnoConversionUtilities<T>::dispatchExObject2Sequence( const VARIANTARG* pva
if( FAILED( VariantChangeType( &result, &result, 0, VT_I4)))
throw BridgeRuntimeError("[automation bridge] UnoConversionUtilities<T>::dispatchExObject2Sequence \n"
"Conversion of dispatch object to Sequence failed!");
long length= result.lVal;
LONG length= result.lVal;
result.Clear();