summaryrefslogtreecommitdiffstats
path: root/pyuno
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-11 17:37:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-11 17:37:29 +0100
commit96d6ccb2e29b8f88101ebbc6ea2217fc8d06e022 (patch)
tree1102da05d38f6a05113b87f560c6746bde5fba54 /pyuno
parentloplugin:redundantcast: sc (diff)
downloadcore-96d6ccb2e29b8f88101ebbc6ea2217fc8d06e022.tar.gz
core-96d6ccb2e29b8f88101ebbc6ea2217fc8d06e022.zip
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')
-rw-r--r--pyuno/source/module/pyuno_runtime.cxx2
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: