From c3ec547ca9762d42b8864b0872b12f3cd8999b0b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 4 May 2016 14:21:53 +0200 Subject: Fix Windows-only code, part 6 Change-Id: Ib9a311dd199db81b0be46a7c32c49a10e1b866e7 --- connectivity/source/drivers/ado/Aolevariant.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'connectivity/source') 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::get()); + aValue <<= (boolVal == VARIANT_TRUE); break; } case VT_I1: -- cgit