summaryrefslogtreecommitdiff
path: root/chart2/source/model/inc/XMLFilter.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:23:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:23:25 +0200
commitbc14d27dd0b50a37ff7ec93b49de976e01c54d0d (patch)
treecfb06c9f5a18afb836014bc53e67bdf71ab95e6a /chart2/source/model/inc/XMLFilter.hxx
parent638a4ec6dc5b1ea83dba32d78a417a4eeee4032e (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: If5ab427ab320e2623df182e6143c4e7123610eae
Diffstat (limited to 'chart2/source/model/inc/XMLFilter.hxx')
-rw-r--r--chart2/source/model/inc/XMLFilter.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/model/inc/XMLFilter.hxx b/chart2/source/model/inc/XMLFilter.hxx
index 46118bdafc02..0c44682148b2 100644
--- a/chart2/source/model/inc/XMLFilter.hxx
+++ b/chart2/source/model/inc/XMLFilter.hxx
@@ -66,7 +66,7 @@ public:
static css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const & xContext)
throw(css::uno::Exception)
{
- return (::cppu::OWeakObject *)new XMLFilter( xContext );
+ return static_cast<cppu::OWeakObject *>(new XMLFilter( xContext ));
}
/// XServiceInfo declarations
virtual OUString SAL_CALL getImplementationName()
@@ -185,7 +185,7 @@ public:
static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL create(
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xContext) throw(::com::sun::star::uno::Exception)
{
- return (::cppu::OWeakObject *)new XMLReportFilterHelper( xContext );
+ return static_cast<cppu::OWeakObject *>(new XMLReportFilterHelper( xContext ));
}
static OUString getImplementationName_Static()
{