Kaydet (Commit) ced1ffc2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:cstylecast: deal with remaining pointer casts

Change-Id: I72ba7c59cfcf0ec4e5e31067a260e82f8f604567
üst f6ec07a3
......@@ -130,7 +130,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL MSWorksCalcImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new MSWorksCalcImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new MSWorksCalcImportFilter(rContext));
}
// XServiceInfo
......
......@@ -168,7 +168,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL MWAWCalcImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new MWAWCalcImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new MWAWCalcImportFilter(rContext));
}
// XServiceInfo
......
......@@ -62,7 +62,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL CDRImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new CDRImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new CDRImportFilter(rContext));
}
// XServiceInfo
......
......@@ -62,7 +62,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL CMXImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new CMXImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new CMXImportFilter(rContext));
}
// XServiceInfo
......
......@@ -58,7 +58,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL FreehandImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new FreehandImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new FreehandImportFilter(rContext));
}
// XServiceInfo
......
......@@ -60,7 +60,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL MSPUBImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new MSPUBImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new MSPUBImportFilter(rContext));
}
// XServiceInfo
......
......@@ -176,7 +176,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL MWAWDrawImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new MWAWDrawImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new MWAWDrawImportFilter(rContext));
}
// XServiceInfo
......
......@@ -60,7 +60,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL PageMakerImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new PageMakerImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new PageMakerImportFilter(rContext));
}
// XServiceInfo
......
......@@ -58,7 +58,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL VisioImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new VisioImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new VisioImportFilter(rContext));
}
// XServiceInfo
......
......@@ -65,7 +65,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL WPGImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new WPGImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new WPGImportFilter(rContext));
}
// XServiceInfo
......
......@@ -257,7 +257,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL KeynoteImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new KeynoteImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new KeynoteImportFilter(rContext));
}
// XServiceInfo
......
......@@ -158,7 +158,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL MWAWPresentationImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new MWAWPresentationImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new MWAWPresentationImportFilter(rContext));
}
// XServiceInfo
......
......@@ -61,7 +61,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL AbiWordImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new AbiWordImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new AbiWordImportFilter(rContext));
}
// XServiceInfo
......
......@@ -116,7 +116,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL EBookImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new EBookImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new EBookImportFilter(rContext));
}
// XServiceInfo
......
......@@ -106,7 +106,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL MSWorksImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new MSWorksImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new MSWorksImportFilter(rContext));
}
// XServiceInfo
......
......@@ -205,7 +205,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL MWAWImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new MWAWImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new MWAWImportFilter(rContext));
}
// XServiceInfo
......
......@@ -256,7 +256,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL WordPerfectImportFilter_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new WordPerfectImportFilter(rContext);
return static_cast<cppu::OWeakObject *>(new WordPerfectImportFilter(rContext));
}
// XServiceInfo
......@@ -387,7 +387,7 @@ throw (RuntimeException)
Reference< XInterface > SAL_CALL WordPerfectImportFilterDialog_createInstance(const Reference< XComponentContext > &rContext)
throw(Exception)
{
return (cppu::OWeakObject *) new WordPerfectImportFilterDialog(rContext);
return static_cast<cppu::OWeakObject *>(new WordPerfectImportFilterDialog(rContext));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment