diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-09-15 19:10:54 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-09-17 09:05:16 +0200 |
commit | a85d3ba1c0de313b60324b9ecfa488bb99d69d06 (patch) | |
tree | 3d2fe95aae78325d9a5b61b6b73ba6179ce0f752 /i18npool/source/search | |
parent | 30530afaaa715473a2f9c3f068beeed5f3a98daf (diff) |
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 <sbergman@redhat.com>
Diffstat (limited to 'i18npool/source/search')
-rw-r--r-- | i18npool/source/search/textsearch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 <sal_Int32>& rOff, sal_Int32 nPos ) +static sal_Int32 FindPosInSeq_Impl( const Sequence <sal_Int32>& 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 ) |