diff options
Diffstat (limited to 'linguistic/source')
-rw-r--r-- | linguistic/source/convdiclist.cxx | 1 | ||||
-rw-r--r-- | linguistic/source/dlistimp.cxx | 2 | ||||
-rw-r--r-- | linguistic/source/gciterator.cxx | 2 | ||||
-rw-r--r-- | linguistic/source/hhconvdic.cxx | 1 | ||||
-rw-r--r-- | linguistic/source/lngopt.cxx | 1 | ||||
-rw-r--r-- | linguistic/source/lngopt.hxx | 6 | ||||
-rw-r--r-- | linguistic/source/lngsvcmgr.cxx | 2 | ||||
-rw-r--r-- | linguistic/source/spelldsp.hxx | 4 |
8 files changed, 16 insertions, 3 deletions
diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx index e486175b2e4a..7bc413ca7559 100644 --- a/linguistic/source/convdiclist.cxx +++ b/linguistic/source/convdiclist.cxx @@ -575,6 +575,7 @@ uno::Sequence< OUString > ConvDicList::getSupportedServiceNames_Static() return aSNS; } +/// @throws css::uno::Exception uno::Reference< uno::XInterface > SAL_CALL ConvDicList_CreateInstance( const uno::Reference< XMultiServiceFactory > & /*rSMgr*/ ) throw(Exception) diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx index 19caeb996756..3780d4eccc27 100644 --- a/linguistic/source/dlistimp.cxx +++ b/linguistic/source/dlistimp.cxx @@ -367,7 +367,7 @@ sal_Int32 DicList::GetDicPos(const uno::Reference< XDictionary > &xDic) return nPos; } - +/// @throws Exception uno::Reference< XInterface > SAL_CALL DicList_CreateInstance( const uno::Reference< XMultiServiceFactory > & /*rSMgr*/ ) throw(Exception) diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx index f3553c4f1195..8897122f1cd4 100644 --- a/linguistic/source/gciterator.cxx +++ b/linguistic/source/gciterator.cxx @@ -1141,7 +1141,7 @@ static uno::Sequence< OUString > GrammarCheckingIterator_getSupportedServiceName return aSNS; } - +/// @throws uno::Exception static uno::Reference< uno::XInterface > SAL_CALL GrammarCheckingIterator_createInstance( const uno::Reference< lang::XMultiServiceFactory > & /*rxSMgr*/ ) throw(uno::Exception) diff --git a/linguistic/source/hhconvdic.cxx b/linguistic/source/hhconvdic.cxx index fcb4a329cd2f..f96c5bfc6253 100644 --- a/linguistic/source/hhconvdic.cxx +++ b/linguistic/source/hhconvdic.cxx @@ -56,6 +56,7 @@ using namespace i18n; #define SCRIPT_HANGUL 2 // from i18npool/source/textconversion/textconversion_ko.cxx +/// @throws RuntimeException sal_Int16 SAL_CALL checkScriptType(sal_Unicode c) throw (RuntimeException) { UErrorCode status = U_ZERO_ERROR; diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx index d50597a9b6a2..ba99a5a21a0f 100644 --- a/linguistic/source/lngopt.cxx +++ b/linguistic/source/lngopt.cxx @@ -209,6 +209,7 @@ void LinguProps::launchEvent( const PropertyChangeEvent &rEvt ) const } } +/// @throws Exception Reference< XInterface > SAL_CALL LinguProps_CreateInstance( const Reference< XMultiServiceFactory > & /*rSMgr*/ ) throw(Exception) diff --git a/linguistic/source/lngopt.hxx b/linguistic/source/lngopt.hxx index c9caab9e7578..5eb5b92925af 100644 --- a/linguistic/source/lngopt.hxx +++ b/linguistic/source/lngopt.hxx @@ -89,13 +89,19 @@ class LinguProps : void launchEvent( const css::beans::PropertyChangeEvent &rEvt ) const; + /// @throws css::uno::RuntimeException bool getPropertyBool(const OUString& aPropertyName) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException sal_Int16 getPropertyInt16(const OUString& aPropertyName) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException css::lang::Locale getPropertyLocale(const OUString& aPropertyName) throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException void setProperty(const OUString& aPropertyName, bool p1) throw (css::uno::RuntimeException) { setPropertyValue( aPropertyName, css::uno::Any(p1) ); } + /// @throws css::uno::RuntimeException void setProperty(const OUString& aPropertyName, sal_Int16 p1) throw (css::uno::RuntimeException) { setPropertyValue( aPropertyName, css::uno::Any(p1) ); } + /// @throws css::uno::RuntimeException void setProperty(const OUString& aPropertyName, css::lang::Locale p1) throw (css::uno::RuntimeException) { setPropertyValue( aPropertyName, css::uno::Any(p1) ); } diff --git a/linguistic/source/lngsvcmgr.cxx b/linguistic/source/lngsvcmgr.cxx index 2f43476b115b..e7028ee9ff5f 100644 --- a/linguistic/source/lngsvcmgr.cxx +++ b/linguistic/source/lngsvcmgr.cxx @@ -2004,7 +2004,7 @@ uno::Sequence< OUString > LngSvcMgr::getSupportedServiceNames_Static() return aSNS; } - +/// @throws uno::Exception uno::Reference< uno::XInterface > SAL_CALL LngSvcMgr_CreateInstance( const uno::Reference< lang::XMultiServiceFactory > & /*rSMgr*/ ) throw(uno::Exception, std::exception) diff --git a/linguistic/source/spelldsp.hxx b/linguistic/source/spelldsp.hxx index c79054d32d41..26e75e82e05b 100644 --- a/linguistic/source/spelldsp.hxx +++ b/linguistic/source/spelldsp.hxx @@ -74,10 +74,14 @@ class SpellCheckerDispatcher : void ClearSvcList(); + /// @throws css::uno::RuntimeException + /// @throws css::lang::IllegalArgumentException bool isValid_Impl(const OUString& aWord, LanguageType nLanguage, const css::beans::PropertyValues& aProperties) throw( css::uno::RuntimeException, css::lang::IllegalArgumentException, std::exception ); + /// @throws css::uno::RuntimeException + /// @throws css::lang::IllegalArgumentException css::uno::Reference< css::linguistic2::XSpellAlternatives > spell_Impl(const OUString& aWord, LanguageType nLanguage, |