From a85d3ba1c0de313b60324b9ecfa488bb99d69d06 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Sat, 15 Sep 2018 19:10:54 +0200 Subject: loplugin:external in i18npool ...showing that print_node etc. are actually unused Change-Id: Ife7faf53dc2487a7ee0cfbe131a761ea18104945 Reviewed-on: https://gerrit.libreoffice.org/60538 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- i18npool/source/search/textsearch.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i18npool/source/search') diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx index 25d2e3196864..906dd12c5263 100644 --- a/i18npool/source/search/textsearch.cxx +++ b/i18npool/source/search/textsearch.cxx @@ -287,7 +287,7 @@ void TextSearch::setOptions( const SearchOptions& rOptions ) setOptions2( aOptions2); } -sal_Int32 FindPosInSeq_Impl( const Sequence & rOff, sal_Int32 nPos ) +static sal_Int32 FindPosInSeq_Impl( const Sequence & rOff, sal_Int32 nPos ) { sal_Int32 nRet = 0, nEnd = rOff.getLength(); while( nRet < nEnd && nPos > rOff[ nRet ] ) ++nRet; @@ -1551,7 +1551,7 @@ TextSearch::getSupportedServiceNames() return aRet; } -css::uno::Reference< css::uno::XInterface > +static css::uno::Reference< css::uno::XInterface > TextSearch_CreateInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& rxMSF ) -- cgit