summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/legacyprovider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/legacyprovider.cxx b/unoidl/source/legacyprovider.cxx
index 0488efa987cf..55095d9ec6bd 100644
--- a/unoidl/source/legacyprovider.cxx
+++ b/unoidl/source/legacyprovider.cxx
@@ -41,7 +41,7 @@ ConstantValue translateConstantValue(
{
switch (value.m_type) {
case RT_TYPE_BOOL:
- return ConstantValue(static_cast< bool >(value.m_value.aBool));
+ return ConstantValue(value.m_value.aBool);
case RT_TYPE_BYTE:
return ConstantValue(value.m_value.aByte);
case RT_TYPE_INT16: