From 6cf34974b8ea742e7a91e8ef7c85d25ee14a2646 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 4 May 2016 14:30:53 +0200 Subject: Fix Windows-only code, part 7 Change-Id: Idf118bee77b55004897ae085e124b9cec2ba4237 --- connectivity/source/drivers/ado/Aolevariant.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'connectivity/source') diff --git a/connectivity/source/drivers/ado/Aolevariant.cxx b/connectivity/source/drivers/ado/Aolevariant.cxx index 0ea21d0787ef..78f16a6d4371 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::get()); break; case VT_UI1: // there is no unsigned char in UNO - aValue.setValue( & bVal, cppu::UnoType::get()); + aValue <<= sal_Int8(bVal); break; case VT_UI2: aValue.setValue( & uiVal, cppu::UnoType::get()); -- cgit