diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-11 17:37:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-11 17:37:29 +0100 |
commit | 96d6ccb2e29b8f88101ebbc6ea2217fc8d06e022 (patch) | |
tree | 1102da05d38f6a05113b87f560c6746bde5fba54 /pyuno/source/module | |
parent | 4009d28ec3ab11c65185ba27a60990bcd9153461 (diff) |
loplugin:redundantcast: pyuno
(after a to-be-committed improved loplugin:cstylecast would have rewritten the
C-style casts into static_casts)
Change-Id: If46940b66accb95d82ce9f129b274940086d906e
Diffstat (limited to 'pyuno/source/module')
-rw-r--r-- | pyuno/source/module/pyuno_runtime.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_runtime.cxx b/pyuno/source/module/pyuno_runtime.cxx index 947747efb104..ad1f1985a635 100644 --- a/pyuno/source/module/pyuno_runtime.cxx +++ b/pyuno/source/module/pyuno_runtime.cxx @@ -434,7 +434,7 @@ PyRef Runtime::any2PyObject (const Any &a ) const OString o = OUStringToOString( t.getTypeName(), RTL_TEXTENCODING_ASCII_US ); return PyRef( PyUNO_Type_new ( - o.getStr(), (css::uno::TypeClass)t.getTypeClass(), *this), + o.getStr(), t.getTypeClass(), *this), SAL_NO_ACQUIRE); } case css::uno::TypeClass_ANY: |