summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/Axis.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/model/main/Axis.hxx')
-rw-r--r--chart2/source/model/main/Axis.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/model/main/Axis.hxx b/chart2/source/model/main/Axis.hxx
index 506c60f7f229..3f649325553a 100644
--- a/chart2/source/model/main/Axis.hxx
+++ b/chart2/source/model/main/Axis.hxx
@@ -62,7 +62,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 Axis( xContext );
+ return static_cast<cppu::OWeakObject *>(new Axis( xContext ));
}
/// XServiceInfo declarations
virtual OUString SAL_CALL getImplementationName()