diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-04 14:21:53 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-04 14:22:34 +0200 |
commit | c3ec547ca9762d42b8864b0872b12f3cd8999b0b (patch) | |
tree | c956d2ed8a9143633b0b7a50b1fa80c3ae361c03 /connectivity/source | |
parent | 23dfb9e14571d96f9bd23d178f397ee35c36f686 (diff) |
Fix Windows-only code, part 6
Change-Id: Ib9a311dd199db81b0be46a7c32c49a10e1b866e7
Diffstat (limited to 'connectivity/source')
-rw-r--r-- | connectivity/source/drivers/ado/Aolevariant.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/connectivity/source/drivers/ado/Aolevariant.cxx b/connectivity/source/drivers/ado/Aolevariant.cxx index 44c71af4a9b6..0ea21d0787ef 100644 --- a/connectivity/source/drivers/ado/Aolevariant.cxx +++ b/connectivity/source/drivers/ado/Aolevariant.cxx @@ -706,8 +706,7 @@ SAFEARRAY* OLEVariant::getUI1SAFEARRAYPtr() const } case VT_BOOL: { - sal_Bool b= boolVal == VARIANT_TRUE; - aValue.setValue( &b, cppu::UnoType<decltype(b)>::get()); + aValue <<= (boolVal == VARIANT_TRUE); break; } case VT_I1: |