diff options
Diffstat (limited to 'pyuno/source/module/pyuno_module.cxx')
-rw-r--r-- | pyuno/source/module/pyuno_module.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx index 8c738aedbecc..e0d4f3e4d3a6 100644 --- a/pyuno/source/module/pyuno_module.cxx +++ b/pyuno/source/module/pyuno_module.cxx @@ -658,7 +658,7 @@ static PyObject *systemPathToFileUrl( buf.append( "Couldn't convert " ); buf.append( sysPath ); buf.append( " to a file url for reason (" ); - buf.append( (sal_Int32) e ); + buf.append( static_cast<sal_Int32>(e) ); buf.append( ")" ); raisePyExceptionWithAny( makeAny( RuntimeException( buf.makeStringAndClear() ))); @@ -684,7 +684,7 @@ static PyObject * fileUrlToSystemPath( buf.append( "Couldn't convert file url " ); buf.append( sysPath ); buf.append( " to a system path for reason (" ); - buf.append( (sal_Int32) e ); + buf.append( static_cast<sal_Int32>(e) ); buf.append( ")" ); raisePyExceptionWithAny( makeAny( RuntimeException( buf.makeStringAndClear() ))); @@ -709,7 +709,7 @@ static PyObject * absolutize( SAL_UNUSED_PARAMETER PyObject *, PyObject * args ) buf.append( " using root " ); buf.append( ouPath ); buf.append( " for reason (" ); - buf.append( (sal_Int32) e ); + buf.append( static_cast<sal_Int32>(e) ); buf.append( ")" ); PyErr_SetString( |