diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/sequence.hxx | 6 | ||||
-rw-r--r-- | include/connectivity/dbtools.hxx | 5 | ||||
-rw-r--r-- | include/editeng/nhypitem.hxx | 3 |
3 files changed, 5 insertions, 9 deletions
diff --git a/include/comphelper/sequence.hxx b/include/comphelper/sequence.hxx index c3bddb28aaa9..ee1cdf6edf4f 100644 --- a/include/comphelper/sequence.hxx +++ b/include/comphelper/sequence.hxx @@ -29,10 +29,10 @@ 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. + /** Search the given string within the given sequence, return the position of the first occurence. + Returns -1 if nothing found. */ - COMPHELPER_DLLPUBLIC css::uno::Sequence<sal_Int16> findValue(const css::uno::Sequence< OUString >& _rList, const OUString& _rValue, bool _bOnlyFirst); + COMPHELPER_DLLPUBLIC sal_Int32 findValue(const css::uno::Sequence< OUString >& _rList, const OUString& _rValue); namespace internal { diff --git a/include/connectivity/dbtools.hxx b/include/connectivity/dbtools.hxx index b777635a100b..c10963cd6796 100644 --- a/include/connectivity/dbtools.hxx +++ b/include/connectivity/dbtools.hxx @@ -796,13 +796,10 @@ namespace dbtools look for column sName in there @param _sName name of the column - @param whenNotFound - value returned when _sName is not in _xColumns */ OOO_DLLPUBLIC_DBTOOLS bool isAggregateColumn( const css::uno::Reference< css::container::XNameAccess > &_xColumns, - const OUString &_sName, - bool whenNotFound + const OUString &_sName ); /** is this column an aggregate? diff --git a/include/editeng/nhypitem.hxx b/include/editeng/nhypitem.hxx index b05569f0599f..69f5477678d4 100644 --- a/include/editeng/nhypitem.hxx +++ b/include/editeng/nhypitem.hxx @@ -26,8 +26,7 @@ class EDITENG_DLLPUBLIC SvxNoHyphenItem : public SfxBoolItem { public: - SvxNoHyphenItem( const bool bHyphen /*= true*/, - const sal_uInt16 nId ); + SvxNoHyphenItem( const sal_uInt16 nId ); // "pure virtual Methods" from SfxPoolItem virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; |