diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:23:25 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:23:25 +0200 |
commit | bc14d27dd0b50a37ff7ec93b49de976e01c54d0d (patch) | |
tree | cfb06c9f5a18afb836014bc53e67bdf71ab95e6a /chart2/inc | |
parent | 638a4ec6dc5b1ea83dba32d78a417a4eeee4032e (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: If5ab427ab320e2623df182e6143c4e7123610eae
Diffstat (limited to 'chart2/inc')
-rw-r--r-- | chart2/inc/ChartModel.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx index d1f5e4f39fdc..ba419e278ac9 100644 --- a/chart2/inc/ChartModel.hxx +++ b/chart2/inc/ChartModel.hxx @@ -241,7 +241,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 ChartModel( xContext ); + return static_cast<cppu::OWeakObject *>(new ChartModel( xContext )); } // ::com::sun::star::lang::XInitialization |