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

Stephan Bergmann sbergman at redhat.com
Wed May 4 12:31:14 UTC 2016


 connectivity/source/drivers/ado/Aolevariant.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6cf34974b8ea742e7a91e8ef7c85d25ee14a2646
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed May 4 14:30:53 2016 +0200

    Fix Windows-only code, part 7
    
    Change-Id: Idf118bee77b55004897ae085e124b9cec2ba4237

diff --git a/connectivity/source/drivers/ado/Aolevariant.cxx b/connectivity/source/drivers/ado/Aolevariant.cxx
index 0ea21d0..78f16a6 100644
--- a/connectivity/source/drivers/ado/Aolevariant.cxx
+++ b/connectivity/source/drivers/ado/Aolevariant.cxx
@@ -713,7 +713,7 @@ SAFEARRAY* OLEVariant::getUI1SAFEARRAYPtr() const
             aValue.setValue( & cVal, cppu::UnoType<sal_Int8>::get());
             break;
         case VT_UI1: // there is no unsigned char in UNO
-            aValue.setValue( & bVal, cppu::UnoType<sal_Int8>::get());
+            aValue <<= sal_Int8(bVal);
             break;
         case VT_UI2:
             aValue.setValue( & uiVal, cppu::UnoType<cppu::UnoUnsignedShortType>::get());


More information about the Libreoffice-commits mailing list