diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-16 22:51:15 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-17 17:55:19 +0100 |
commit | 05f742d28b3786f44781af5b069c05c16b84decd (patch) | |
tree | dacb340f99ad4e47d20557eee04e6f69f5d15721 /include/comphelper/sequence.hxx | |
parent | faced6b5f72b096800a232749cce6b38a76d5bac (diff) |
comphelper: sal_Bool -> bool
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
Diffstat (limited to 'include/comphelper/sequence.hxx')
-rw-r--r-- | include/comphelper/sequence.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/comphelper/sequence.hxx b/include/comphelper/sequence.hxx index 3cafedf0f622..38947231b713 100644 --- a/include/comphelper/sequence.hxx +++ b/include/comphelper/sequence.hxx @@ -38,7 +38,7 @@ namespace comphelper /** search the given string within the given sequence, return the positions where it was found. if _bOnlyFirst is sal_True, only the first occurrence will be returned. */ - COMPHELPER_DLLPUBLIC staruno::Sequence<sal_Int16> findValue(const staruno::Sequence< OUString >& _rList, const OUString& _rValue, sal_Bool _bOnlyFirst = sal_False); + COMPHELPER_DLLPUBLIC staruno::Sequence<sal_Int16> findValue(const staruno::Sequence< OUString >& _rList, const OUString& _rValue, bool _bOnlyFirst = false); namespace internal { @@ -126,7 +126,7 @@ namespace comphelper */ OSequenceIterator(const ::com::sun::star::uno::Any& _rSequenceAny); - sal_Bool hasMoreElements() const; + bool hasMoreElements() const; ::com::sun::star::uno::Any nextElement(); private: @@ -151,7 +151,7 @@ namespace comphelper ,m_pCurrent(NULL) { ::com::sun::star::uno::Sequence< TYPE > aContainer; - sal_Bool bSuccess = _rSequenceAny >>= aContainer; + bool bSuccess = _rSequenceAny >>= aContainer; OSL_ENSURE(bSuccess, "OSequenceIterator::OSequenceIterator: invalid Any!"); (void)bSuccess; construct(aContainer); @@ -168,7 +168,7 @@ namespace comphelper //--------------------------------------------------------------------- template <class TYPE> - sal_Bool OSequenceIterator<TYPE>::hasMoreElements() const + bool OSequenceIterator<TYPE>::hasMoreElements() const { return m_pCurrent - m_pElements < m_nLen; } |