summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/BarChartType.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/template/BarChartType.hxx')
-rw-r--r--chart2/source/model/template/BarChartType.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/template/BarChartType.hxx b/chart2/source/model/template/BarChartType.hxx
index 97ffcb3b3aba..15ac210f428f 100644
--- a/chart2/source/model/template/BarChartType.hxx
+++ b/chart2/source/model/template/BarChartType.hxx
@@ -49,7 +49,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 BarChartType( xContext );
+ return static_cast<cppu::OWeakObject *>(new BarChartType( xContext ));
}
protected: