From 18f202011661397d10ca4c2fa28fcf57b62221b0 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 18 Aug 2021 18:31:05 +0200 Subject: loplugin:constparams Change-Id: Ic7410f836e584df45101e78e345c8b3c8d355e09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120680 Tested-by: Jenkins Reviewed-by: Noel Grandin --- toolkit/source/controls/animatedimages.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit/source/controls/animatedimages.cxx') diff --git a/toolkit/source/controls/animatedimages.cxx b/toolkit/source/controls/animatedimages.cxx index 9ef3506d122c..6743f08f8fec 100644 --- a/toolkit/source/controls/animatedimages.cxx +++ b/toolkit/source/controls/animatedimages.cxx @@ -205,7 +205,7 @@ namespace toolkit { namespace { - void lcl_checkIndex( std::vector< css::uno::Sequence< OUString > > & rImageSets, const sal_Int32 i_index, const Reference< XInterface >& i_context, + void lcl_checkIndex( const std::vector< css::uno::Sequence< OUString > > & rImageSets, const sal_Int32 i_index, const Reference< XInterface >& i_context, const bool i_forInsert = false ) { if ( ( i_index < 0 ) || ( o3tl::make_unsigned( i_index ) > rImageSets.size() + ( i_forInsert ? 1 : 0 ) ) ) -- cgit