diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-30 13:45:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-05-31 08:33:40 +0200 |
commit | 307be8c9cedb32560419bbb09e029b906e5f1acd (patch) | |
tree | cda408f6f320e7e7cb24dd7e022259c807f0c89e /chart2 | |
parent | 7c41a3e50433fe67eb361f79121d103929946d23 (diff) |
clang-tidy readability-redundant-control-flow
Change-Id: I832f7ef0f1bd55e365db7e49823fe8bc30390c04
Reviewed-on: https://gerrit.libreoffice.org/38215
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 2 | ||||
-rw-r--r-- | chart2/source/model/template/ChartTypeTemplate.cxx | 4 | ||||
-rw-r--r-- | chart2/source/view/main/GL3DRenderer.cxx | 1 |
3 files changed, 1 insertions, 6 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index 5a9921dddf56..b83e04408b82 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -592,7 +592,6 @@ void SAL_CALL ChartModel::removeEventListener( const uno::Reference< lang::XEven return; //behave passive if already disposed or closed m_aLifeTimeManager.m_aListenerContainer.removeInterface( cppu::UnoType<lang::XEventListener>::get(), xListener ); - return; } // util::XCloseBroadcaster (base of XCloseable) @@ -607,7 +606,6 @@ void SAL_CALL ChartModel::removeCloseListener( const uno::Reference< util::XClos return; //behave passive if already disposed or closed m_aLifeTimeManager.m_aListenerContainer.removeInterface( cppu::UnoType<util::XCloseListener>::get(), xListener ); - return; } // util::XCloseable diff --git a/chart2/source/model/template/ChartTypeTemplate.cxx b/chart2/source/model/template/ChartTypeTemplate.cxx index f6039056aea4..7e42baa89628 100644 --- a/chart2/source/model/template/ChartTypeTemplate.cxx +++ b/chart2/source/model/template/ChartTypeTemplate.cxx @@ -507,7 +507,6 @@ void SAL_CALL ChartTypeTemplate::resetStyles( const Reference< chart2::XDiagram } } - return; } // ____ XServiceName ____ @@ -676,8 +675,7 @@ void ChartTypeTemplate::adaptScales( void ChartTypeTemplate::adaptDiagram( const Reference< XDiagram > & /* xDiagram */ ) { - return; -} + } void ChartTypeTemplate::createAxes( const Sequence< Reference< XCoordinateSystem > > & rCoordSys ) diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx index 8f2deb44b353..6e6e2fcaa601 100644 --- a/chart2/source/view/main/GL3DRenderer.cxx +++ b/chart2/source/view/main/GL3DRenderer.cxx @@ -1081,7 +1081,6 @@ void OpenGL3DRenderer::RenderPolygon3DObject() } } glDepthMask(GL_TRUE); - return; } void OpenGL3DRenderer::Set3DSenceInfo(sal_uInt32 nColor, bool twoSidesLighting) |