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

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Fri Nov 27 12:16:37 UTC 2020


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

New commits:
commit a93b47c0a788771cc761f37e610985cbeb971a1e
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Nov 27 10:27:48 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Nov 27 13:15:59 2020 +0100

    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 at redhat.com>

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<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();
 


More information about the Libreoffice-commits mailing list