summaryrefslogtreecommitdiff
path: root/chart2/source/tools/RegressionEquation.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/RegressionEquation.hxx')
-rw-r--r--chart2/source/tools/RegressionEquation.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/RegressionEquation.hxx b/chart2/source/tools/RegressionEquation.hxx
index 0730619f09b0..27f7efc1bf4f 100644
--- a/chart2/source/tools/RegressionEquation.hxx
+++ b/chart2/source/tools/RegressionEquation.hxx
@@ -80,7 +80,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 RegressionEquation( xContext );
+ return static_cast<cppu::OWeakObject *>(new RegressionEquation( xContext ));
}
protected: