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 --- editeng/source/misc/unolingu.cxx | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'editeng') diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index aae91634d45c..15cd2bdf6eba 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -99,7 +99,7 @@ public: css::uno::Reference< css::linguistic2::XMeaning > > SAL_CALL queryMeanings( const OUString& rTerm, const css::lang::Locale& rLocale, - const css::beans::PropertyValues& rProperties ) override; + const css::uno::Sequence< css::beans::PropertyValue >& rProperties ) override; }; @@ -175,7 +175,7 @@ uno::Sequence< uno::Reference< linguistic2::XMeaning > > SAL_CALL ThesDummy_Impl::queryMeanings( const OUString& rTerm, const lang::Locale& rLocale, - const beans::PropertyValues& rProperties ) + const css::uno::Sequence< css::beans::PropertyValue >& rProperties ) { GetThes_Impl(); uno::Sequence< uno::Reference< linguistic2::XMeaning > > aRes; @@ -207,10 +207,10 @@ public: // XSpellChecker1 (same as XSpellChecker but sal_Int16 for language) virtual sal_Bool SAL_CALL isValid( const OUString& rWord, sal_Int16 nLanguage, - const css::beans::PropertyValues& rProperties ) override; + const css::uno::Sequence< css::beans::PropertyValue >& rProperties ) override; virtual css::uno::Reference< css::linguistic2::XSpellAlternatives > SAL_CALL spell( const OUString& rWord, sal_Int16 nLanguage, - const css::beans::PropertyValues& rProperties ) override; + const css::uno::Sequence< css::beans::PropertyValue >& rProperties ) override; }; @@ -248,7 +248,7 @@ sal_Bool SAL_CALL sal_Bool SAL_CALL SpellDummy_Impl::isValid( const OUString& rWord, sal_Int16 nLanguage, - const beans::PropertyValues& rProperties ) + const css::uno::Sequence< css::beans::PropertyValue >& rProperties ) { GetSpell_Impl(); bool bRes = true; @@ -260,7 +260,7 @@ sal_Bool SAL_CALL uno::Reference< linguistic2::XSpellAlternatives > SAL_CALL SpellDummy_Impl::spell( const OUString& rWord, sal_Int16 nLanguage, - const beans::PropertyValues& rProperties ) + const css::uno::Sequence< css::beans::PropertyValue >& rProperties ) { GetSpell_Impl(); uno::Reference< linguistic2::XSpellAlternatives > xRes; @@ -295,19 +295,19 @@ public: hyphenate( const OUString& rWord, const css::lang::Locale& rLocale, sal_Int16 nMaxLeading, - const css::beans::PropertyValues& rProperties ) override; + const css::uno::Sequence< css::beans::PropertyValue >& rProperties ) override; virtual css::uno::Reference< css::linguistic2::XHyphenatedWord > SAL_CALL queryAlternativeSpelling( const OUString& rWord, const css::lang::Locale& rLocale, sal_Int16 nIndex, - const css::beans::PropertyValues& rProperties ) override; + const css::uno::Sequence< css::beans::PropertyValue >& rProperties ) override; virtual css::uno::Reference< css::linguistic2::XPossibleHyphens > SAL_CALL createPossibleHyphens( const OUString& rWord, const css::lang::Locale& rLocale, - const css::beans::PropertyValues& rProperties ) override; + const css::uno::Sequence< css::beans::PropertyValue >& rProperties ) override; }; @@ -348,7 +348,7 @@ uno::Reference< linguistic2::XHyphenatedWord > SAL_CALL const OUString& rWord, const lang::Locale& rLocale, sal_Int16 nMaxLeading, - const beans::PropertyValues& rProperties ) + const css::uno::Sequence< css::beans::PropertyValue >& rProperties ) { GetHyph_Impl(); uno::Reference< linguistic2::XHyphenatedWord > xRes; @@ -363,7 +363,7 @@ uno::Reference< linguistic2::XHyphenatedWord > SAL_CALL const OUString& rWord, const lang::Locale& rLocale, sal_Int16 nIndex, - const PropertyValues& rProperties ) + const css::uno::Sequence< css::beans::PropertyValue >& rProperties ) { GetHyph_Impl(); uno::Reference< linguistic2::XHyphenatedWord > xRes; @@ -377,7 +377,7 @@ uno::Reference< linguistic2::XPossibleHyphens > SAL_CALL HyphDummy_Impl::createPossibleHyphens( const OUString& rWord, const lang::Locale& rLocale, - const beans::PropertyValues& rProperties ) + const css::uno::Sequence< css::beans::PropertyValue >& rProperties ) { GetHyph_Impl(); uno::Reference< linguistic2::XPossibleHyphens > xRes; -- cgit