summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/workbookfragment.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-31 21:34:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-01 19:05:18 +0100
commit4b27e96cb05ba9fa4d89d8727466db3eb7ef15a6 (patch)
treee6040e9897e4348fb1c6a901e2aef2082e39548d /sc/source/filter/oox/workbookfragment.cxx
parent5670a9619b77a6a9e53b0cf20c059ea66ca5f450 (diff)
loplugin:passstuffbyref improved return in sc
Change-Id: I487cfe96e9fe65f9be39b2488880410bc7b4baea Reviewed-on: https://gerrit.libreoffice.org/47228 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/filter/oox/workbookfragment.cxx')
-rw-r--r--sc/source/filter/oox/workbookfragment.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/workbookfragment.cxx b/sc/source/filter/oox/workbookfragment.cxx
index 9cf8d6423edd..d80b594c730e 100644
--- a/sc/source/filter/oox/workbookfragment.cxx
+++ b/sc/source/filter/oox/workbookfragment.cxx
@@ -294,7 +294,7 @@ public:
{
aSegments.clear();
}
- ISegmentProgressBarRef wrapProgress( const ISegmentProgressBarRef &xProgress )
+ const ISegmentProgressBarRef& wrapProgress( const ISegmentProgressBarRef &xProgress )
{
aSegments.push_back( ISegmentProgressBarRef( new ProgressWrapper( xProgress ) ) );
return aSegments.back();