From bc14d27dd0b50a37ff7ec93b49de976e01c54d0d Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 8 Jun 2015 16:23:25 +0200 Subject: loplugin:cstylecast: deal with remaining pointer casts Change-Id: If5ab427ab320e2623df182e6143c4e7123610eae --- chart2/inc/ChartModel.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chart2/inc') 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(new ChartModel( xContext )); } // ::com::sun::star::lang::XInitialization -- cgit