From 24eae7bd702f3f6dd790be7ac38ac16e9fe6a375 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 6 Sep 2018 08:50:58 +0200 Subject: clang-tidy performance-unnecessary-value-param Change-Id: I69247498e13331f6ef84afeb242479f8fb1178a8 Reviewed-on: https://gerrit.libreoffice.org/60068 Tested-by: Jenkins Reviewed-by: Noel Grandin --- reportdesign/source/ui/inc/SectionWindow.hxx | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'reportdesign/source/ui/inc') diff --git a/reportdesign/source/ui/inc/SectionWindow.hxx b/reportdesign/source/ui/inc/SectionWindow.hxx index a08bf82a27a5..14610862eace 100644 --- a/reportdesign/source/ui/inc/SectionWindow.hxx +++ b/reportdesign/source/ui/inc/SectionWindow.hxx @@ -66,7 +66,11 @@ namespace rptui * \param _pIsSectionOn * @return sal_True when title was set otherwise FALSE */ - bool setGroupSectionTitle(const css::uno::Reference< css::report::XGroup>& _xGroup,const char* pResId,::std::function(OGroupHelper *)> _pGetSection, const ::std::function& _pIsSectionOn); + bool setGroupSectionTitle( + const css::uno::Reference& _xGroup, const char* pResId, + const ::std::function(OGroupHelper*)>& + _pGetSection, + const ::std::function& _pIsSectionOn); /** set the title of the (report/page) header or footer * @@ -76,7 +80,11 @@ namespace rptui * \param _pIsSectionOn * @return sal_True when title was set otherwise FALSE */ - bool setReportSectionTitle(const css::uno::Reference< css::report::XReportDefinition>& _xReport,const char* pResId,::std::function(OReportHelper *)> _pGetSection, const ::std::function& _pIsSectionOn); + bool setReportSectionTitle( + const css::uno::Reference& _xReport, const char* pResId, + const ::std::function(OReportHelper*)>& + _pGetSection, + const ::std::function& _pIsSectionOn); void ImplInitSettings(); DECL_LINK(Collapsed, OColorListener&, void); -- cgit