connectivity/source/drivers/ado/Aolevariant.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit c3ec547ca9762d42b8864b0872b12f3cd8999b0b Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed May 4 14:21:53 2016 +0200 Fix Windows-only code, part 6 Change-Id: Ib9a311dd199db81b0be46a7c32c49a10e1b866e7 diff --git a/connectivity/source/drivers/ado/Aolevariant.cxx b/connectivity/source/drivers/ado/Aolevariant.cxx index 44c71af..0ea21d0 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: _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits