diff options
Diffstat (limited to 'sc/source/ui/unoobj/eventuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/eventuno.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sc/source/ui/unoobj/eventuno.cxx b/sc/source/ui/unoobj/eventuno.cxx index 2eb4d60cca78..c3e24180a8cd 100644 --- a/sc/source/ui/unoobj/eventuno.cxx +++ b/sc/source/ui/unoobj/eventuno.cxx @@ -64,8 +64,6 @@ static ScSheetEventId lcl_GetEventFromName( const OUString& aName ) // XNameReplace void SAL_CALL ScSheetEventsObj::replaceByName( const OUString& aName, const uno::Any& aElement ) - throw(lang::IllegalArgumentException, container::NoSuchElementException, - lang::WrappedTargetException, uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; if (!mpDocShell) @@ -117,7 +115,6 @@ void SAL_CALL ScSheetEventsObj::replaceByName( const OUString& aName, const uno: // XNameAccess uno::Any SAL_CALL ScSheetEventsObj::getByName( const OUString& aName ) - throw(container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; ScSheetEventId nEvent = lcl_GetEventFromName(aName); @@ -148,7 +145,7 @@ uno::Any SAL_CALL ScSheetEventsObj::getByName( const OUString& aName ) return aRet; } -uno::Sequence<OUString> SAL_CALL ScSheetEventsObj::getElementNames() throw(uno::RuntimeException, std::exception) +uno::Sequence<OUString> SAL_CALL ScSheetEventsObj::getElementNames() { SolarMutexGuard aGuard; uno::Sequence<OUString> aNames((int)ScSheetEventId::COUNT); @@ -157,7 +154,7 @@ uno::Sequence<OUString> SAL_CALL ScSheetEventsObj::getElementNames() throw(uno:: return aNames; } -sal_Bool SAL_CALL ScSheetEventsObj::hasByName( const OUString& aName ) throw(uno::RuntimeException, std::exception) +sal_Bool SAL_CALL ScSheetEventsObj::hasByName( const OUString& aName ) { SolarMutexGuard aGuard; ScSheetEventId nEvent = lcl_GetEventFromName(aName); @@ -166,13 +163,13 @@ sal_Bool SAL_CALL ScSheetEventsObj::hasByName( const OUString& aName ) throw(uno // XElementAccess -uno::Type SAL_CALL ScSheetEventsObj::getElementType() throw(uno::RuntimeException, std::exception) +uno::Type SAL_CALL ScSheetEventsObj::getElementType() { SolarMutexGuard aGuard; return cppu::UnoType<uno::Sequence<beans::PropertyValue>>::get(); } -sal_Bool SAL_CALL ScSheetEventsObj::hasElements() throw(uno::RuntimeException, std::exception) +sal_Bool SAL_CALL ScSheetEventsObj::hasElements() { SolarMutexGuard aGuard; if (mpDocShell) |