summaryrefslogtreecommitdiffstats
path: root/reportdesign/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-05 09:46:12 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-06 06:48:38 +0000
commitf3d9aab8410c00298f29ca0194c5d33d53c63ff2 (patch)
tree370d24d49547d8eb2cdbcb293992d9b9a4a670ed /reportdesign/inc
parentsw: no need to copy these in rtfattributeoutput (diff)
downloadcore-f3d9aab8410c00298f29ca0194c5d33d53c63ff2.tar.gz
core-f3d9aab8410c00298f29ca0194c5d33d53c63ff2.zip
teach passstuffbyref plugin to check for..
unnecessarily passing primitives by const ref. Suggested by Tor Lillqvist Change-Id: I445e220542969ca3e252581e5953fb01cb2b2be6 Reviewed-on: https://gerrit.libreoffice.org/24672 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'reportdesign/inc')
-rw-r--r--reportdesign/inc/ReportDefinition.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/inc/ReportDefinition.hxx b/reportdesign/inc/ReportDefinition.hxx
index e0a437479aca..e8c404b34a50 100644
--- a/reportdesign/inc/ReportDefinition.hxx
+++ b/reportdesign/inc/ReportDefinition.hxx
@@ -97,7 +97,7 @@ namespace reportdesign
OReportDefinition& operator=(const OReportDefinition&) = delete;
void setSection( const OUString& _sProperty
- ,const bool& _bOn
+ ,bool _bOn
,const OUString& _sName
,css::uno::Reference< css::report::XSection>& _member);