summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-05-04 14:30:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-05-04 14:30:53 +0200
commit6cf34974b8ea742e7a91e8ef7c85d25ee14a2646 (patch)
tree3204ddce38af89d05597c1adacdb9e1f7b76dd1c /connectivity
parent709ef9f91876072407c587db63851f6da73d265f (diff)
Fix Windows-only code, part 7
Change-Id: Idf118bee77b55004897ae085e124b9cec2ba4237
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/ado/Aolevariant.cxx2
1 files changed, 1 insertions, 1 deletions
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<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());