summaryrefslogtreecommitdiff
path: root/linguistic/source/gciterator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'linguistic/source/gciterator.cxx')
-rw-r--r--linguistic/source/gciterator.cxx17
1 files changed, 2 insertions, 15 deletions
diff --git a/linguistic/source/gciterator.cxx b/linguistic/source/gciterator.cxx
index 8897122f1cd4..265f1b8fd9cd 100644
--- a/linguistic/source/gciterator.cxx
+++ b/linguistic/source/gciterator.cxx
@@ -652,7 +652,6 @@ void GrammarCheckingIterator::DequeueAndCheck()
void SAL_CALL GrammarCheckingIterator::startProofreading(
const uno::Reference< ::uno::XInterface > & xDoc,
const uno::Reference< text::XFlatParagraphIteratorProvider > & xIteratorProvider )
-throw (uno::RuntimeException, lang::IllegalArgumentException, std::exception)
{
// get paragraph to start checking with
const bool bAutomatic = true;
@@ -682,7 +681,6 @@ linguistic2::ProofreadingResult SAL_CALL GrammarCheckingIterator::checkSentenceA
sal_Int32 nStartOfSentencePos,
sal_Int32 nSuggestedEndOfSentencePos,
sal_Int32 nErrorPosInPara )
-throw (lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{
(void) rLocale;
@@ -806,7 +804,6 @@ sal_Int32 GrammarCheckingIterator::GetSuggestedEndOfSentence(
void SAL_CALL GrammarCheckingIterator::resetIgnoreRules( )
-throw (uno::RuntimeException, std::exception)
{
GCReferences_t::iterator aIt( m_aGCReferencesByService.begin() );
while (aIt != m_aGCReferencesByService.end())
@@ -821,7 +818,6 @@ throw (uno::RuntimeException, std::exception)
sal_Bool SAL_CALL GrammarCheckingIterator::isProofreading(
const uno::Reference< uno::XInterface >& xDoc )
-throw (uno::RuntimeException, std::exception)
{
// ---- THREAD SAFE START ----
::osl::Guard< ::osl::Mutex > aGuard( MyMutex::get() );
@@ -867,7 +863,6 @@ throw (uno::RuntimeException, std::exception)
void SAL_CALL GrammarCheckingIterator::processLinguServiceEvent(
const linguistic2::LinguServiceEvent& rLngSvcEvent )
-throw (uno::RuntimeException, std::exception)
{
if (rLngSvcEvent.nEvent == linguistic2::LinguServiceEventFlags::PROOFREAD_AGAIN)
{
@@ -894,7 +889,6 @@ throw (uno::RuntimeException, std::exception)
sal_Bool SAL_CALL GrammarCheckingIterator::addLinguServiceEventListener(
const uno::Reference< linguistic2::XLinguServiceEventListener >& xListener )
-throw (uno::RuntimeException, std::exception)
{
if (xListener.is())
{
@@ -906,7 +900,6 @@ throw (uno::RuntimeException, std::exception)
sal_Bool SAL_CALL GrammarCheckingIterator::removeLinguServiceEventListener(
const uno::Reference< linguistic2::XLinguServiceEventListener >& xListener )
-throw (uno::RuntimeException, std::exception)
{
if (xListener.is())
{
@@ -917,7 +910,6 @@ throw (uno::RuntimeException, std::exception)
void SAL_CALL GrammarCheckingIterator::dispose()
-throw (uno::RuntimeException, std::exception)
{
lang::EventObject aEvt( static_cast<linguistic2::XProofreadingIterator *>(this) );
m_aEventListeners.disposeAndClear( aEvt );
@@ -946,7 +938,6 @@ throw (uno::RuntimeException, std::exception)
void SAL_CALL GrammarCheckingIterator::addEventListener(
const uno::Reference< lang::XEventListener >& xListener )
-throw (uno::RuntimeException, std::exception)
{
if (xListener.is())
{
@@ -957,7 +948,6 @@ throw (uno::RuntimeException, std::exception)
void SAL_CALL GrammarCheckingIterator::removeEventListener(
const uno::Reference< lang::XEventListener >& xListener )
-throw (uno::RuntimeException, std::exception)
{
if (xListener.is())
{
@@ -967,7 +957,6 @@ throw (uno::RuntimeException, std::exception)
void SAL_CALL GrammarCheckingIterator::disposing( const lang::EventObject &rSource )
-throw (uno::RuntimeException, std::exception)
{
// if the component (document) is disposing release all references
//!! There is no need to remove entries from the queue that are from this document
@@ -1068,19 +1057,18 @@ void GrammarCheckingIterator::GetConfiguredGCSvcs_Impl()
sal_Bool SAL_CALL GrammarCheckingIterator::supportsService(
const OUString & rServiceName )
-throw(uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, rServiceName);
}
-OUString SAL_CALL GrammarCheckingIterator::getImplementationName( ) throw (uno::RuntimeException, std::exception)
+OUString SAL_CALL GrammarCheckingIterator::getImplementationName( )
{
return GrammarCheckingIterator_getImplementationName();
}
-uno::Sequence< OUString > SAL_CALL GrammarCheckingIterator::getSupportedServiceNames( ) throw (uno::RuntimeException, std::exception)
+uno::Sequence< OUString > SAL_CALL GrammarCheckingIterator::getSupportedServiceNames( )
{
return GrammarCheckingIterator_getSupportedServiceNames();
}
@@ -1144,7 +1132,6 @@ static uno::Sequence< OUString > GrammarCheckingIterator_getSupportedServiceName
/// @throws uno::Exception
static uno::Reference< uno::XInterface > SAL_CALL GrammarCheckingIterator_createInstance(
const uno::Reference< lang::XMultiServiceFactory > & /*rxSMgr*/ )
-throw(uno::Exception)
{
return static_cast< ::cppu::OWeakObject * >(new GrammarCheckingIterator());
}