loplugin:implicitboolconversion (clang-cl)

Change-Id: I49a006c31393664733a977f2620d055d3a0acff2
Reviewed-on: https://gerrit.libreoffice.org/67150
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2019-01-30 14:48:51 +01:00
parent 31d07df57f
commit 293d1e78f5

View File

@@ -2907,7 +2907,7 @@ void CMAccessible::ConvertAnyToVariant(const css::uno::Any &rAnyVal, VARIANT *pv
bool bBoolean(false);
rAnyVal >>= bBoolean;
pvData->vt = VT_BOOL;
pvData->boolVal = bBoolean; // boolVal is a VARIANT_BOOL, a 16bit field
pvData->boolVal = VARIANT_BOOL(bBoolean); // boolVal is a VARIANT_BOOL, a 16bit field
break;
}
case TypeClass_BYTE: