diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /i18npool/source/search/textsearch.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'i18npool/source/search/textsearch.cxx')
-rw-r--r-- | i18npool/source/search/textsearch.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/i18npool/source/search/textsearch.cxx b/i18npool/source/search/textsearch.cxx index c5ac12add07b..b6f02d285ce7 100644 --- a/i18npool/source/search/textsearch.cxx +++ b/i18npool/source/search/textsearch.cxx @@ -100,7 +100,7 @@ TextSearch::~TextSearch() delete pJumpTable2; } -void TextSearch::setOptions( const SearchOptions& rOptions ) throw( RuntimeException ) +void TextSearch::setOptions( const SearchOptions& rOptions ) throw( RuntimeException, std::exception ) { aSrchPara = rOptions; @@ -227,7 +227,7 @@ sal_Bool TextSearch::isCellStart(const OUString& searchStr, sal_Int32 nPos) } SearchResult TextSearch::searchForward( const OUString& searchStr, sal_Int32 startPos, sal_Int32 endPos ) - throw( RuntimeException ) + throw( RuntimeException, std::exception ) { SearchResult sres; @@ -326,7 +326,7 @@ SearchResult TextSearch::searchForward( const OUString& searchStr, sal_Int32 sta } SearchResult TextSearch::searchBackward( const OUString& searchStr, sal_Int32 startPos, sal_Int32 endPos ) - throw(RuntimeException) + throw(RuntimeException, std::exception) { SearchResult sres; @@ -1042,19 +1042,19 @@ static OUString getImplementationName_Static() OUString SAL_CALL TextSearch::getImplementationName() - throw( RuntimeException ) + throw( RuntimeException, std::exception ) { return getImplementationName_Static(); } sal_Bool SAL_CALL TextSearch::supportsService(const OUString& rServiceName) - throw( RuntimeException ) + throw( RuntimeException, std::exception ) { return cppu::supportsService(this, rServiceName); } Sequence< OUString > SAL_CALL -TextSearch::getSupportedServiceNames(void) throw( RuntimeException ) +TextSearch::getSupportedServiceNames(void) throw( RuntimeException, std::exception ) { Sequence< OUString > aRet(1); aRet[0] = getServiceName_Static(); |