diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-08-20 17:33:37 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-08-21 01:46:09 +0200 |
commit | 58aa95c94459aec8cb467f3d6ec8ac9491c7a46c (patch) | |
tree | c7602c890b3a972d18e5d92d279fcdd0fd76dbc8 /pyuno/source/loader | |
parent | d269a182506cad8f11e9631229d4dc20f5e33abe (diff) |
Janitorial: remove unnecessary const_casts
The python C API has consts at these places
Diffstat (limited to 'pyuno/source/loader')
-rw-r--r-- | pyuno/source/loader/pyuno_loader.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/loader/pyuno_loader.cxx b/pyuno/source/loader/pyuno_loader.cxx index 4e652023e968..f7a909fbd0fc 100644 --- a/pyuno/source/loader/pyuno_loader.cxx +++ b/pyuno/source/loader/pyuno_loader.cxx @@ -76,7 +76,7 @@ static void raiseRuntimeExceptionWhenNeeded() throw ( RuntimeException ) static PyRef getLoaderModule() throw( RuntimeException ) { PyRef module( - PyImport_ImportModule( const_cast< char * >("pythonloader") ), + PyImport_ImportModule( "pythonloader" ), SAL_NO_ACQUIRE ); raiseRuntimeExceptionWhenNeeded(); if( !module.is() ) |