From 248145f99e95cc30bb6231a8e5ea4e294f147040 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 14 May 2014 09:58:40 +0200 Subject: 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 Tested-by: Noel Grandin --- sd/source/filter/xml/sdxmlwrp.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/source/filter/xml/sdxmlwrp.cxx') diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx index 680e86570437..3a9255818d94 100644 --- a/sd/source/filter/xml/sdxmlwrp.cxx +++ b/sd/source/filter/xml/sdxmlwrp.cxx @@ -183,7 +183,7 @@ sal_Int32 ReadThroughComponent( const OUString& rStreamName, Reference & rxContext, const sal_Char* pFilterName, - Sequence rFilterArguments, + const Sequence& rFilterArguments, const OUString& rName, bool bMustBeSuccessfull, bool bEncrypted ) @@ -325,7 +325,7 @@ sal_Int32 ReadThroughComponent( const sal_Char* pCompatibilityStreamName, Reference & rxContext, const sal_Char* pFilterName, - Sequence rFilterArguments, + const Sequence& rFilterArguments, const OUString& rName, bool bMustBeSuccessfull ) { -- cgit