diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2013-10-22 11:47:01 -0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-10-23 14:58:17 +0000 |
commit | 196f980012739d94654e6863b85b2e49f7e1a1e5 (patch) | |
tree | d9dd7f25ae8f39d43d7181c40122e46acda1b492 /comphelper | |
parent | 786153a048e773fa094429708023c7ffc76221e3 (diff) |
fdo#54938: Replace existsValue for cppu::supportsService
As now ::comphelper::existsValue is not used anymore, we're removing this too.
Change-Id: I9bd2544a9c378f5a18746255133f5684867e0114
Reviewed-on: https://gerrit.libreoffice.org/6378
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/sequence.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/comphelper/source/misc/sequence.cxx b/comphelper/source/misc/sequence.cxx index 9c412390db12..00b3c3d584fb 100644 --- a/comphelper/source/misc/sequence.cxx +++ b/comphelper/source/misc/sequence.cxx @@ -79,15 +79,6 @@ staruno::Sequence<sal_Int16> findValue(const staruno::Sequence< OUString >& _rLi return aRetSeq; } } -// ----------------------------------------------------------------------------- -sal_Bool existsValue(const OUString& Value,const staruno::Sequence< OUString >& _aList) -{ - const OUString * pIter = _aList.getConstArray(); - const OUString * pEnd = pIter + _aList.getLength(); - return ::std::find(pIter,pEnd,Value) != pEnd; -} - -//......................................................................... } // namespace comphelper //......................................................................... |