summaryrefslogtreecommitdiff
path: root/winaccessibility
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-01-30 14:48:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-01-30 19:11:56 +0100
commit293d1e78f54ff299f3686da673eb73b674172837 (patch)
tree8cb1ae655bc5385c7aa4cf2c5c3f2ea6846a2a3a /winaccessibility
parent31d07df57fb97ae9bf2e6f2d749cc1a0769eb4ad (diff)
loplugin:implicitboolconversion (clang-cl)
Change-Id: I49a006c31393664733a977f2620d055d3a0acff2 Reviewed-on: https://gerrit.libreoffice.org/67150 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'winaccessibility')
-rw-r--r--winaccessibility/source/UAccCOM/MAccessible.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/winaccessibility/source/UAccCOM/MAccessible.cxx b/winaccessibility/source/UAccCOM/MAccessible.cxx
index ae05b724e8ce..0a384400a481 100644
--- a/winaccessibility/source/UAccCOM/MAccessible.cxx
+++ b/winaccessibility/source/UAccCOM/MAccessible.cxx
@@ -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: