summaryrefslogtreecommitdiff
path: root/xmloff/source/chart/SchXMLPlotAreaContext.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-11 16:05:03 +0200
committerNoel Grandin <noel@peralex.com>2016-04-12 08:33:32 +0200
commitdc0d98590f07c7dae4504b7ed0c0127794f032d8 (patch)
treeb3b926f947185f89f59788f8fc48e6305eac67ff /xmloff/source/chart/SchXMLPlotAreaContext.cxx
parent03fd8d24c2e4603731e796b24e51289736c65621 (diff)
clang-tidy performance-unnecessary-value-param in xmloff
Change-Id: I8e6d8e66cdab2e50ee10882e139be29c14ce50f6
Diffstat (limited to 'xmloff/source/chart/SchXMLPlotAreaContext.cxx')
-rw-r--r--xmloff/source/chart/SchXMLPlotAreaContext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/chart/SchXMLPlotAreaContext.cxx b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
index 07e4db502694..af2e117564db 100644
--- a/xmloff/source/chart/SchXMLPlotAreaContext.cxx
+++ b/xmloff/source/chart/SchXMLPlotAreaContext.cxx
@@ -977,7 +977,7 @@ SchXMLStatisticsObjectContext::~SchXMLStatisticsObjectContext()
namespace {
-void SetErrorBarStyleProperties( const OUString& rStyleName, uno::Reference< beans::XPropertySet > xBarProp,
+void SetErrorBarStyleProperties( const OUString& rStyleName, const uno::Reference< beans::XPropertySet >& xBarProp,
SchXMLImportHelper& rImportHelper )
{
const SvXMLStylesContext* pStylesCtxt = rImportHelper.GetAutoStylesContext();
@@ -990,7 +990,7 @@ void SetErrorBarStyleProperties( const OUString& rStyleName, uno::Reference< bea
rSeriesStyleContext.FillPropertySet( xBarProp );
}
-void SetErrorBarPropertiesFromStyleName( const OUString& aStyleName, uno::Reference< beans::XPropertySet> xBarProp,
+void SetErrorBarPropertiesFromStyleName( const OUString& aStyleName, const uno::Reference< beans::XPropertySet>& xBarProp,
SchXMLImportHelper& rImportHelper, OUString& aPosRange, OUString& aNegRange)
{
const SvXMLStylesContext* pStylesCtxt = rImportHelper.GetAutoStylesContext();