summaryrefslogtreecommitdiff
path: root/editeng/source/misc/unolingu.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/misc/unolingu.cxx')
-rw-r--r--editeng/source/misc/unolingu.cxx64
1 files changed, 13 insertions, 51 deletions
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index c0a446b4b8fb..f0eeb4e8aa25 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -87,20 +87,16 @@ public:
// XSupportedLocales
virtual css::uno::Sequence< css::lang::Locale > SAL_CALL
- getLocales()
- throw(css::uno::RuntimeException, std::exception) override;
+ getLocales() override;
virtual sal_Bool SAL_CALL
- hasLocale( const css::lang::Locale& rLocale )
- throw(css::uno::RuntimeException, std::exception) override;
+ hasLocale( const css::lang::Locale& rLocale ) override;
// XThesaurus
virtual css::uno::Sequence<
css::uno::Reference< css::linguistic2::XMeaning > > SAL_CALL
queryMeanings( const OUString& rTerm,
const css::lang::Locale& rLocale,
- const css::beans::PropertyValues& rProperties )
- throw(css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception) override;
+ const css::beans::PropertyValues& rProperties ) override;
};
@@ -141,7 +137,6 @@ void ThesDummy_Impl::GetThes_Impl()
uno::Sequence< lang::Locale > SAL_CALL
ThesDummy_Impl::getLocales()
- throw(uno::RuntimeException, std::exception)
{
GetThes_Impl();
if (xThes.is())
@@ -154,7 +149,6 @@ uno::Sequence< lang::Locale > SAL_CALL
sal_Bool SAL_CALL
ThesDummy_Impl::hasLocale( const lang::Locale& rLocale )
- throw(uno::RuntimeException, std::exception)
{
GetThes_Impl();
if (xThes.is())
@@ -180,8 +174,6 @@ uno::Sequence< uno::Reference< linguistic2::XMeaning > > SAL_CALL
const OUString& rTerm,
const lang::Locale& rLocale,
const beans::PropertyValues& rProperties )
- throw(lang::IllegalArgumentException,
- uno::RuntimeException, std::exception)
{
GetThes_Impl();
uno::Sequence< uno::Reference< linguistic2::XMeaning > > aRes;
@@ -206,23 +198,17 @@ public:
// XSupportedLanguages (for XSpellChecker1)
virtual css::uno::Sequence< sal_Int16 > SAL_CALL
- getLanguages()
- throw(css::uno::RuntimeException, std::exception) override;
+ getLanguages() override;
virtual sal_Bool SAL_CALL
- hasLanguage( sal_Int16 nLanguage )
- throw(css::uno::RuntimeException, std::exception) override;
+ hasLanguage( sal_Int16 nLanguage ) override;
// 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 )
- throw(css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception) override;
+ const css::beans::PropertyValues& rProperties ) override;
virtual css::uno::Reference< css::linguistic2::XSpellAlternatives > SAL_CALL
spell( const OUString& rWord, sal_Int16 nLanguage,
- const css::beans::PropertyValues& rProperties )
- throw(css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception) override;
+ const css::beans::PropertyValues& rProperties ) override;
};
@@ -238,7 +224,6 @@ void SpellDummy_Impl::GetSpell_Impl()
uno::Sequence< sal_Int16 > SAL_CALL
SpellDummy_Impl::getLanguages()
- throw(uno::RuntimeException, std::exception)
{
GetSpell_Impl();
if (xSpell.is())
@@ -250,7 +235,6 @@ uno::Sequence< sal_Int16 > SAL_CALL
sal_Bool SAL_CALL
SpellDummy_Impl::hasLanguage( sal_Int16 nLanguage )
- throw(uno::RuntimeException, std::exception)
{
GetSpell_Impl();
bool bRes = false;
@@ -263,8 +247,6 @@ sal_Bool SAL_CALL
sal_Bool SAL_CALL
SpellDummy_Impl::isValid( const OUString& rWord, sal_Int16 nLanguage,
const beans::PropertyValues& rProperties )
- throw(lang::IllegalArgumentException,
- uno::RuntimeException, std::exception)
{
GetSpell_Impl();
bool bRes = true;
@@ -277,8 +259,6 @@ sal_Bool SAL_CALL
uno::Reference< linguistic2::XSpellAlternatives > SAL_CALL
SpellDummy_Impl::spell( const OUString& rWord, sal_Int16 nLanguage,
const beans::PropertyValues& rProperties )
- throw(lang::IllegalArgumentException,
- uno::RuntimeException, std::exception)
{
GetSpell_Impl();
uno::Reference< linguistic2::XSpellAlternatives > xRes;
@@ -303,11 +283,9 @@ public:
// XSupportedLocales
virtual css::uno::Sequence<
css::lang::Locale > SAL_CALL
- getLocales()
- throw(css::uno::RuntimeException, std::exception) override;
+ getLocales() override;
virtual sal_Bool SAL_CALL
- hasLocale( const css::lang::Locale& rLocale )
- throw(css::uno::RuntimeException, std::exception) override;
+ hasLocale( const css::lang::Locale& rLocale ) override;
// XHyphenator
virtual css::uno::Reference<
@@ -315,25 +293,19 @@ public:
hyphenate( const OUString& rWord,
const css::lang::Locale& rLocale,
sal_Int16 nMaxLeading,
- const css::beans::PropertyValues& rProperties )
- throw(css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception) override;
+ const css::beans::PropertyValues& 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 )
- throw(css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception) override;
+ const css::beans::PropertyValues& 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 )
- throw(css::lang::IllegalArgumentException,
- css::uno::RuntimeException, std::exception) override;
+ const css::beans::PropertyValues& rProperties ) override;
};
@@ -349,7 +321,6 @@ void HyphDummy_Impl::GetHyph_Impl()
uno::Sequence< lang::Locale > SAL_CALL
HyphDummy_Impl::getLocales()
- throw(uno::RuntimeException, std::exception)
{
GetHyph_Impl();
if (xHyph.is())
@@ -361,7 +332,6 @@ uno::Sequence< lang::Locale > SAL_CALL
sal_Bool SAL_CALL
HyphDummy_Impl::hasLocale( const lang::Locale& rLocale )
- throw(uno::RuntimeException, std::exception)
{
GetHyph_Impl();
bool bRes = false;
@@ -377,8 +347,6 @@ uno::Reference< linguistic2::XHyphenatedWord > SAL_CALL
const lang::Locale& rLocale,
sal_Int16 nMaxLeading,
const beans::PropertyValues& rProperties )
- throw(lang::IllegalArgumentException,
- uno::RuntimeException, std::exception)
{
GetHyph_Impl();
uno::Reference< linguistic2::XHyphenatedWord > xRes;
@@ -394,8 +362,6 @@ uno::Reference< linguistic2::XHyphenatedWord > SAL_CALL
const lang::Locale& rLocale,
sal_Int16 nIndex,
const PropertyValues& rProperties )
- throw(lang::IllegalArgumentException,
- uno::RuntimeException, std::exception)
{
GetHyph_Impl();
uno::Reference< linguistic2::XHyphenatedWord > xRes;
@@ -410,8 +376,6 @@ uno::Reference< linguistic2::XPossibleHyphens > SAL_CALL
const OUString& rWord,
const lang::Locale& rLocale,
const beans::PropertyValues& rProperties )
- throw(lang::IllegalArgumentException,
- uno::RuntimeException, std::exception)
{
GetHyph_Impl();
uno::Reference< linguistic2::XPossibleHyphens > xRes;
@@ -431,8 +395,7 @@ public:
virtual ~LinguMgrExitLstnr() override;
// lang::XEventListener
- virtual void SAL_CALL disposing(const EventObject& rSource)
- throw( RuntimeException, std::exception ) override;
+ virtual void SAL_CALL disposing(const EventObject& rSource) override;
};
LinguMgrExitLstnr::LinguMgrExitLstnr()
@@ -456,7 +419,6 @@ LinguMgrExitLstnr::~LinguMgrExitLstnr()
}
void LinguMgrExitLstnr::disposing(const EventObject& rSource)
- throw( RuntimeException, std::exception )
{
if (xDesktop.is() && rSource.Source == xDesktop)
{