summaryrefslogtreecommitdiff
path: root/pyuno/source/module/pyuno_except.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:04:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:04:17 +0100
commitf2b0eb086fcadec59fde957fe1717fecb537484b (patch)
treeef8facb30c6007dc6ca3d67b3dcdf3ad850a3ba5 /pyuno/source/module/pyuno_except.cxx
parent6f58d7a12e4acaad59a00df345591ac5ce552cbe (diff)
More loplugin:cstylecast: pyuno
Change-Id: I2d3e2104c63bdff1a18fd32c2db37a565e9380e2
Diffstat (limited to 'pyuno/source/module/pyuno_except.cxx')
-rw-r--r--pyuno/source/module/pyuno_except.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/module/pyuno_except.cxx b/pyuno/source/module/pyuno_except.cxx
index 074fd7d1cebd..0d627dd2566e 100644
--- a/pyuno/source/module/pyuno_except.cxx
+++ b/pyuno/source/module/pyuno_except.cxx
@@ -91,7 +91,7 @@ static PyRef createClass( const OUString & name, const Runtime &runtime )
if( !isStruct && !isExc && ! isInterface )
{
throw RuntimeException( "pyuno.getClass: " + name + "is a " +
- OUString::createFromAscii( typeClassToString( (css::uno::TypeClass) desc.get()->eTypeClass) ) +
+ OUString::createFromAscii( typeClassToString( static_cast<css::uno::TypeClass>(desc.get()->eTypeClass)) ) +
", expected EXCEPTION, STRUCT or INTERFACE" );
}