diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-05-04 13:06:12 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-05-04 13:06:12 +0200 |
commit | f7b2782e24c7b67dc127cb0a453901c3fc0a1fb7 (patch) | |
tree | 45f762073a54b387b07816a32d48492f3205c79f /extensions/source/ole | |
parent | sal_Bool -> bool (diff) | |
download | core-f7b2782e24c7b67dc127cb0a453901c3fc0a1fb7.tar.gz core-f7b2782e24c7b67dc127cb0a453901c3fc0a1fb7.zip |
Fix Windows-only code
Change-Id: Iaf6d668f65e31c60dba8140d789f6578ef461264
Diffstat (limited to 'extensions/source/ole')
-rw-r--r-- | extensions/source/ole/unoconversionutilities.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/ole/unoconversionutilities.hxx b/extensions/source/ole/unoconversionutilities.hxx index e090dd0095fc..5698558e94ff 100644 --- a/extensions/source/ole/unoconversionutilities.hxx +++ b/extensions/source/ole/unoconversionutilities.hxx @@ -1557,8 +1557,7 @@ void UnoConversionUtilities<T>::variantToAny( const VARIANT* pVariant, Any& rAny } case VT_BOOL: { - sal_Bool b= var.boolVal == VARIANT_TRUE; - rAny.setValue( &b, cppu::UnoType<decltype(b)>::get()); + rAny <<= (var.boolVal == VARIANT_TRUE); break; } case VT_I1: |