From d9b6f4fd38da9f875b78f6ff365bcb16fb2c8e8b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 25 Oct 2017 17:12:09 +0200 Subject: loplugin:constmethods in unotools Change-Id: I13df4e184a826682f34a1d9e974b601397ba4a3d Reviewed-on: https://gerrit.libreoffice.org/43865 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cppu/source/uno/lbenv.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cppu/source/uno') diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx index 01a300ed94d1..76bf88e6e002 100644 --- a/cppu/source/uno/lbenv.cxx +++ b/cppu/source/uno/lbenv.cxx @@ -88,7 +88,7 @@ struct ObjectEntry uno_freeProxyFunc fpFreeProxy ); inline InterfaceEntry * find( typelib_InterfaceTypeDescription * pTypeDescr ); - inline sal_Int32 find( void const * iface_ptr, std::size_t pos ); + inline sal_Int32 find( void const * iface_ptr, std::size_t pos ) const; }; @@ -211,7 +211,7 @@ inline InterfaceEntry * ObjectEntry::find( inline sal_Int32 ObjectEntry::find( - void const * iface_ptr, std::size_t pos ) + void const * iface_ptr, std::size_t pos ) const { std::size_t size = aInterfaces.size(); for ( ; pos < size; ++pos ) -- cgit