diff options
Diffstat (limited to 'xmlhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/provider.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/provider.cxx b/xmlhelp/source/cxxhelp/provider/provider.cxx index 6c52e0357814..865f4066fbe8 100644 --- a/xmlhelp/source/cxxhelp/provider/provider.cxx +++ b/xmlhelp/source/cxxhelp/provider/provider.cxx @@ -132,8 +132,7 @@ static uno::Reference< uno::XInterface > ContentProvider_CreateInstance( const uno::Reference< lang::XMultiServiceFactory> & rSMgr ) { - lang::XServiceInfo * pX = static_cast< lang::XServiceInfo * >( - new ContentProvider( comphelper::getComponentContext(rSMgr) ) ); + lang::XServiceInfo * pX = new ContentProvider( comphelper::getComponentContext(rSMgr) ); return uno::Reference< uno::XInterface >::query( pX ); } |