From 191f85df5851473af270be486f95f940e3091fef Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 4 Mar 2019 08:57:28 +0200 Subject: re-land "new loplugin typedefparam"" This reverts commit c9bb48386bad7d2a40e6958883328145ae439cad, and adds a bunch more fixes. Change-Id: Ib584d302a73125528eba85fa1e722cb6fc41538a Reviewed-on: https://gerrit.libreoffice.org/68680 Tested-by: Jenkins Reviewed-by: Noel Grandin --- linguistic/source/hyphdsp.cxx | 6 +++--- linguistic/source/hyphdsp.hxx | 6 +++--- linguistic/source/spelldsp.cxx | 4 ++-- linguistic/source/spelldsp.hxx | 4 ++-- linguistic/source/thesdsp.cxx | 2 +- linguistic/source/thesdsp.hxx | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) (limited to 'linguistic/source') diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx index 22643b3b9c04..b15ec9c15807 100644 --- a/linguistic/source/hyphdsp.cxx +++ b/linguistic/source/hyphdsp.cxx @@ -272,7 +272,7 @@ sal_Bool SAL_CALL HyphenatorDispatcher::hasLocale(const Locale& rLocale) Reference< XHyphenatedWord > SAL_CALL HyphenatorDispatcher::hyphenate( const OUString& rWord, const Locale& rLocale, sal_Int16 nMaxLeading, - const PropertyValues& rProperties ) + const css::uno::Sequence< ::css::beans::PropertyValue >& rProperties ) { MutexGuard aGuard( GetLinguMutex() ); @@ -408,7 +408,7 @@ Reference< XHyphenatedWord > SAL_CALL Reference< XHyphenatedWord > SAL_CALL HyphenatorDispatcher::queryAlternativeSpelling( const OUString& rWord, const Locale& rLocale, sal_Int16 nIndex, - const PropertyValues& rProperties ) + const css::uno::Sequence< ::css::beans::PropertyValue >& rProperties ) { MutexGuard aGuard( GetLinguMutex() ); @@ -539,7 +539,7 @@ Reference< XHyphenatedWord > SAL_CALL Reference< XPossibleHyphens > SAL_CALL HyphenatorDispatcher::createPossibleHyphens( const OUString& rWord, const Locale& rLocale, - const PropertyValues& rProperties ) + const css::uno::Sequence< ::css::beans::PropertyValue >& rProperties ) { MutexGuard aGuard( GetLinguMutex() ); diff --git a/linguistic/source/hyphdsp.hxx b/linguistic/source/hyphdsp.hxx index ec8ec580570b..4825f745d8f4 100644 --- a/linguistic/source/hyphdsp.hxx +++ b/linguistic/source/hyphdsp.hxx @@ -91,18 +91,18 @@ public: hyphenate( const OUString& aWord, const css::lang::Locale& aLocale, sal_Int16 nMaxLeading, - const css::beans::PropertyValues& aProperties ) override; + const css::uno::Sequence< ::css::beans::PropertyValue >& aProperties ) override; virtual css::uno::Reference< css::linguistic2::XHyphenatedWord > SAL_CALL queryAlternativeSpelling( const OUString& aWord, const css::lang::Locale& aLocale, sal_Int16 nIndex, - const css::beans::PropertyValues& aProperties ) override; + const css::uno::Sequence< ::css::beans::PropertyValue >& aProperties ) override; virtual css::uno::Reference< css::linguistic2::XPossibleHyphens > SAL_CALL createPossibleHyphens( const OUString& aWord, const css::lang::Locale& aLocale, - const css::beans::PropertyValues& aProperties ) override; + const css::uno::Sequence< ::css::beans::PropertyValue >& aProperties ) override; // LinguDispatcher virtual void diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx index e557207ffdcc..3103d1c7ef1c 100644 --- a/linguistic/source/spelldsp.cxx +++ b/linguistic/source/spelldsp.cxx @@ -212,7 +212,7 @@ sal_Bool SAL_CALL SpellCheckerDispatcher::hasLocale( const Locale& rLocale ) sal_Bool SAL_CALL SpellCheckerDispatcher::isValid( const OUString& rWord, const Locale& rLocale, - const PropertyValues& rProperties ) + const css::uno::Sequence< ::css::beans::PropertyValue >& rProperties ) { MutexGuard aGuard( GetLinguMutex() ); return isValid_Impl( rWord, LinguLocaleToLanguage( rLocale ), rProperties ); @@ -221,7 +221,7 @@ sal_Bool SAL_CALL Reference< XSpellAlternatives > SAL_CALL SpellCheckerDispatcher::spell( const OUString& rWord, const Locale& rLocale, - const PropertyValues& rProperties ) + const css::uno::Sequence< ::css::beans::PropertyValue >& rProperties ) { MutexGuard aGuard( GetLinguMutex() ); return spell_Impl( rWord, LinguLocaleToLanguage( rLocale ), rProperties ); diff --git a/linguistic/source/spelldsp.hxx b/linguistic/source/spelldsp.hxx index 8e65841d2d9b..4c4dd7fd9c19 100644 --- a/linguistic/source/spelldsp.hxx +++ b/linguistic/source/spelldsp.hxx @@ -92,8 +92,8 @@ public: virtual sal_Bool SAL_CALL hasLocale( const css::lang::Locale& aLocale ) override; // XSpellChecker - virtual sal_Bool SAL_CALL isValid( const OUString& aWord, const css::lang::Locale& aLocale, const css::beans::PropertyValues& aProperties ) override; - virtual css::uno::Reference< css::linguistic2::XSpellAlternatives > SAL_CALL spell( const OUString& aWord, const css::lang::Locale& aLocale, const css::beans::PropertyValues& aProperties ) override; + virtual sal_Bool SAL_CALL isValid( const OUString& aWord, const css::lang::Locale& aLocale, const css::uno::Sequence< ::css::beans::PropertyValue >& aProperties ) override; + virtual css::uno::Reference< css::linguistic2::XSpellAlternatives > SAL_CALL spell( const OUString& aWord, const css::lang::Locale& aLocale, const css::uno::Sequence< ::css::beans::PropertyValue >& aProperties ) override; // XSupportedLanguages virtual css::uno::Sequence< ::sal_Int16 > SAL_CALL getLanguages( ) override; diff --git a/linguistic/source/thesdsp.cxx b/linguistic/source/thesdsp.cxx index 2ca199e567db..3fdfe5c73da1 100644 --- a/linguistic/source/thesdsp.cxx +++ b/linguistic/source/thesdsp.cxx @@ -106,7 +106,7 @@ sal_Bool SAL_CALL Sequence< Reference< XMeaning > > SAL_CALL ThesaurusDispatcher::queryMeanings( const OUString& rTerm, const Locale& rLocale, - const PropertyValues& rProperties ) + const css::uno::Sequence< ::css::beans::PropertyValue >& rProperties ) { MutexGuard aGuard( GetLinguMutex() ); diff --git a/linguistic/source/thesdsp.hxx b/linguistic/source/thesdsp.hxx index cf00a7897f3f..4481099e3a59 100644 --- a/linguistic/source/thesdsp.hxx +++ b/linguistic/source/thesdsp.hxx @@ -73,7 +73,7 @@ public: virtual css::uno::Sequence< css::uno::Reference< css::linguistic2::XMeaning > > SAL_CALL queryMeanings( const OUString& aTerm, const css::lang::Locale& aLocale, - const css::beans::PropertyValues& aProperties ) override; + const css::uno::Sequence< ::css::beans::PropertyValue >& aProperties ) override; // LinguDispatcher virtual void -- cgit v1.2.3