summaryrefslogtreecommitdiffstats
path: root/include/vcl/canvastools.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-14 09:58:40 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-05-14 08:10:22 +0000
commit248145f99e95cc30bb6231a8e5ea4e294f147040 (patch)
treec3b5c1e226cc631cde530f2cfb7df2d46f00b8c9 /include/vcl/canvastools.hxx
parentwriterfilter: DomainMapper_Impl::SetSymbolData() should take an int (diff)
downloadcore-248145f99e95cc30bb6231a8e5ea4e294f147040.tar.gz
core-248145f99e95cc30bb6231a8e5ea4e294f147040.zip
Find places where uno::Sequence is passed by value.
Implement a clang plugin to find them, and clean up existing code to pass them by reference. Change-Id: If642d87407c73346d9c0164b9fc77c5c3c4354b8 Reviewed-on: https://gerrit.libreoffice.org/9351 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/canvastools.hxx')
-rw-r--r--include/vcl/canvastools.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/canvastools.hxx b/include/vcl/canvastools.hxx
index 49afcaf31414..774f09ff50e0 100644
--- a/include/vcl/canvastools.hxx
+++ b/include/vcl/canvastools.hxx
@@ -127,7 +127,7 @@ namespace vcl
@param xColorSpace
Color space to convert from
*/
- Color VCL_DLLPUBLIC doubleSequenceToColor( const ::com::sun::star::uno::Sequence< double > rColor,
+ Color VCL_DLLPUBLIC doubleSequenceToColor( const ::com::sun::star::uno::Sequence< double >& rColor,
const ::com::sun::star::uno::Reference<
::com::sun::star::rendering::XColorSpace >& xColorSpace );