summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-02 12:09:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-04 07:50:01 +0100
commit3dde9d988f0c9a432429389359c3531f10a4ff10 (patch)
treef6daed39591bf55907f44218fcac62f389322aa6 /chart2
parentda90193c8c0ab1f5403d37902f0037b51659b6d9 (diff)
loplugin:constparams in various(1)
Change-Id: Ic80ca59abc3e104c7adf0c1eff1d16addf48bc8b Reviewed-on: https://gerrit.libreoffice.org/44261 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/axes/VPolarAngleAxis.cxx2
-rw-r--r--chart2/source/view/axes/VPolarAngleAxis.hxx2
-rw-r--r--chart2/source/view/inc/GL3DRenderer.hxx2
-rw-r--r--chart2/source/view/main/GL3DRenderer.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/view/axes/VPolarAngleAxis.cxx b/chart2/source/view/axes/VPolarAngleAxis.cxx
index da7eeb3733c7..7e4132f84321 100644
--- a/chart2/source/view/axes/VPolarAngleAxis.cxx
+++ b/chart2/source/view/axes/VPolarAngleAxis.cxx
@@ -48,7 +48,7 @@ VPolarAngleAxis::~VPolarAngleAxis()
bool VPolarAngleAxis::createTextShapes_ForAngleAxis(
const uno::Reference< drawing::XShapes >& xTarget
, EquidistantTickIter& rTickIter
- , AxisLabelProperties& rAxisLabelProperties
+ , AxisLabelProperties const & rAxisLabelProperties
, double fLogicRadius
, double fLogicZ )
{
diff --git a/chart2/source/view/axes/VPolarAngleAxis.hxx b/chart2/source/view/axes/VPolarAngleAxis.hxx
index f9899f5da674..993a5ce5fef6 100644
--- a/chart2/source/view/axes/VPolarAngleAxis.hxx
+++ b/chart2/source/view/axes/VPolarAngleAxis.hxx
@@ -43,7 +43,7 @@ private: //methods
bool createTextShapes_ForAngleAxis(
const css::uno::Reference< css::drawing::XShapes >& xTarget
, EquidistantTickIter& rTickIter
- , AxisLabelProperties& rAxisLabelProperties
+ , AxisLabelProperties const & rAxisLabelProperties
, double fLogicRadius, double fLogicZ );
};
diff --git a/chart2/source/view/inc/GL3DRenderer.hxx b/chart2/source/view/inc/GL3DRenderer.hxx
index 9443ca23f982..19b6996b5d8f 100644
--- a/chart2/source/view/inc/GL3DRenderer.hxx
+++ b/chart2/source/view/inc/GL3DRenderer.hxx
@@ -213,7 +213,7 @@ public:
void ReleaseScreenTextShapes();
void ReleaseTextTexture();
void ReleaseScreenTextTexture();
- void StartClick(sal_uInt32 &selectID);
+ void StartClick(sal_uInt32 selectID);
void EndClick();
void SetScroll();
void SetScrollSpeed(float scrollSpeed);
diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx
index 0bca5ba3a70b..a6947e82277d 100644
--- a/chart2/source/view/main/GL3DRenderer.cxx
+++ b/chart2/source/view/main/GL3DRenderer.cxx
@@ -2388,7 +2388,7 @@ void OpenGL3DRenderer::DisableHighLightBar(BatchBarInfo &barInfo)
}
}
-void OpenGL3DRenderer::StartClick(sal_uInt32 &selectID)
+void OpenGL3DRenderer::StartClick(sal_uInt32 selectID)
{
m_bHighLighting = true;
m_uiSelectID = selectID;