diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 09:36:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-02 09:36:25 +0200 |
commit | 04f6481e4edf160d8d01817c770b56a5abeb7702 (patch) | |
tree | d01dc3792abaec7c69152dc0f355ea03f7163af1 /unoidl | |
parent | cc6451efd98eff04935e8da5e05dd26a6b208557 (diff) |
Improved loplugin:redundantcast static_cast handling: unoidl
Change-Id: Ic959703c5f5ff594d0c430f6756a3fadf09cfd73
Diffstat (limited to 'unoidl')
-rw-r--r-- | unoidl/source/legacyprovider.cxx | 2 |
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: |