summaryrefslogtreecommitdiff
path: root/chart2/source/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:23:25 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:23:25 +0200
commitbc14d27dd0b50a37ff7ec93b49de976e01c54d0d (patch)
treecfb06c9f5a18afb836014bc53e67bdf71ab95e6a /chart2/source/inc
parent638a4ec6dc5b1ea83dba32d78a417a4eeee4032e (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: If5ab427ab320e2623df182e6143c4e7123610eae
Diffstat (limited to 'chart2/source/inc')
-rw-r--r--chart2/source/inc/CachedDataSequence.hxx2
-rw-r--r--chart2/source/inc/ConfigColorScheme.hxx2
-rw-r--r--chart2/source/inc/DataSource.hxx2
-rw-r--r--chart2/source/inc/ErrorBar.hxx2
-rw-r--r--chart2/source/inc/InternalDataProvider.hxx2
-rw-r--r--chart2/source/inc/LabeledDataSequence.hxx2
-rw-r--r--chart2/source/inc/Scaling.hxx8
7 files changed, 10 insertions, 10 deletions
diff --git a/chart2/source/inc/CachedDataSequence.hxx b/chart2/source/inc/CachedDataSequence.hxx
index 8119695628da..275e2b233a0c 100644
--- a/chart2/source/inc/CachedDataSequence.hxx
+++ b/chart2/source/inc/CachedDataSequence.hxx
@@ -87,7 +87,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 CachedDataSequence( xContext );
+ return static_cast<cppu::OWeakObject *>(new CachedDataSequence( xContext ));
}
/// declare XServiceInfo methods
virtual OUString SAL_CALL getImplementationName()
diff --git a/chart2/source/inc/ConfigColorScheme.hxx b/chart2/source/inc/ConfigColorScheme.hxx
index 993f7af35073..e2d1db3d784d 100644
--- a/chart2/source/inc/ConfigColorScheme.hxx
+++ b/chart2/source/inc/ConfigColorScheme.hxx
@@ -57,7 +57,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 ConfigColorScheme( xContext );
+ return static_cast<cppu::OWeakObject *>(new ConfigColorScheme( xContext ));
}
/// declare XServiceInfo methods
virtual OUString SAL_CALL getImplementationName()
diff --git a/chart2/source/inc/DataSource.hxx b/chart2/source/inc/DataSource.hxx
index 6f55fec23dea..976769b24ba1 100644
--- a/chart2/source/inc/DataSource.hxx
+++ b/chart2/source/inc/DataSource.hxx
@@ -50,7 +50,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 DataSource( xContext );
+ return static_cast<cppu::OWeakObject *>(new DataSource( xContext ));
}
/// declare XServiceInfo methods
virtual OUString SAL_CALL getImplementationName()
diff --git a/chart2/source/inc/ErrorBar.hxx b/chart2/source/inc/ErrorBar.hxx
index 6d81e4b0ed63..6ba4fc324488 100644
--- a/chart2/source/inc/ErrorBar.hxx
+++ b/chart2/source/inc/ErrorBar.hxx
@@ -93,7 +93,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 ErrorBar( xContext );
+ return static_cast<cppu::OWeakObject *>(new ErrorBar( xContext ));
}
// XPropertySet
diff --git a/chart2/source/inc/InternalDataProvider.hxx b/chart2/source/inc/InternalDataProvider.hxx
index 3c6477c34b25..1cbcbddd0ee7 100644
--- a/chart2/source/inc/InternalDataProvider.hxx
+++ b/chart2/source/inc/InternalDataProvider.hxx
@@ -94,7 +94,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 InternalDataProvider( xContext );
+ return static_cast<cppu::OWeakObject *>(new InternalDataProvider( xContext ));
}
// ____ XInternalDataProvider ____
diff --git a/chart2/source/inc/LabeledDataSequence.hxx b/chart2/source/inc/LabeledDataSequence.hxx
index 1e3f22e6563b..ec938db8c426 100644
--- a/chart2/source/inc/LabeledDataSequence.hxx
+++ b/chart2/source/inc/LabeledDataSequence.hxx
@@ -63,7 +63,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 LabeledDataSequence( xContext );
+ return static_cast<cppu::OWeakObject *>(new LabeledDataSequence( xContext ));
}
/// declare XServiceInfo methods
virtual OUString SAL_CALL getImplementationName()
diff --git a/chart2/source/inc/Scaling.hxx b/chart2/source/inc/Scaling.hxx
index 96a1e2aa4df0..2602d50b188d 100644
--- a/chart2/source/inc/Scaling.hxx
+++ b/chart2/source/inc/Scaling.hxx
@@ -50,7 +50,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 LogarithmicScaling( xContext );
+ return static_cast<cppu::OWeakObject *>(new LogarithmicScaling( xContext ));
}
/// declare XServiceInfo methods
virtual OUString SAL_CALL getImplementationName()
@@ -101,7 +101,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 ExponentialScaling( xContext );
+ return static_cast<cppu::OWeakObject *>(new ExponentialScaling( xContext ));
}
/// declare XServiceInfo methods
virtual OUString SAL_CALL getImplementationName()
@@ -152,7 +152,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 LinearScaling( xContext );
+ return static_cast<cppu::OWeakObject *>(new LinearScaling( xContext ));
}
/// declare XServiceInfo methods
virtual OUString SAL_CALL getImplementationName()
@@ -202,7 +202,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 PowerScaling( xContext );
+ return static_cast<cppu::OWeakObject *>(new PowerScaling( xContext ));
}
/// declare XServiceInfo methods
virtual OUString SAL_CALL getImplementationName()