diff options
Diffstat (limited to 'sc/source/ui/unoobj/srchuno.cxx')
-rw-r--r-- | sc/source/ui/unoobj/srchuno.cxx | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/sc/source/ui/unoobj/srchuno.cxx b/sc/source/ui/unoobj/srchuno.cxx index 7fe453fe8c57..e572f669b758 100644 --- a/sc/source/ui/unoobj/srchuno.cxx +++ b/sc/source/ui/unoobj/srchuno.cxx @@ -95,14 +95,13 @@ ScCellSearchObj::~ScCellSearchObj() // XSearchDescriptor -OUString SAL_CALL ScCellSearchObj::getSearchString() throw(uno::RuntimeException, std::exception) +OUString SAL_CALL ScCellSearchObj::getSearchString() { SolarMutexGuard aGuard; return pSearchItem->GetSearchString(); } void SAL_CALL ScCellSearchObj::setSearchString( const OUString& aString ) - throw(uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; pSearchItem->SetSearchString( aString ); @@ -110,14 +109,13 @@ void SAL_CALL ScCellSearchObj::setSearchString( const OUString& aString ) // XReplaceDescriptor -OUString SAL_CALL ScCellSearchObj::getReplaceString() throw(uno::RuntimeException, std::exception) +OUString SAL_CALL ScCellSearchObj::getReplaceString() { SolarMutexGuard aGuard; return pSearchItem->GetReplaceString(); } void SAL_CALL ScCellSearchObj::setReplaceString( const OUString& aReplaceString ) - throw(uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; pSearchItem->SetReplaceString( aReplaceString ); @@ -126,7 +124,6 @@ void SAL_CALL ScCellSearchObj::setReplaceString( const OUString& aReplaceString // XPropertySet uno::Reference<beans::XPropertySetInfo> SAL_CALL ScCellSearchObj::getPropertySetInfo() - throw(uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; static uno::Reference<beans::XPropertySetInfo> aRef( @@ -136,9 +133,6 @@ uno::Reference<beans::XPropertySetInfo> SAL_CALL ScCellSearchObj::getPropertySet void SAL_CALL ScCellSearchObj::setPropertyValue( const OUString& aPropertyName, const uno::Any& aValue ) - throw(beans::UnknownPropertyException, beans::PropertyVetoException, - lang::IllegalArgumentException, lang::WrappedTargetException, - uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -160,8 +154,6 @@ void SAL_CALL ScCellSearchObj::setPropertyValue( } uno::Any SAL_CALL ScCellSearchObj::getPropertyValue( const OUString& aPropertyName ) - throw(beans::UnknownPropertyException, lang::WrappedTargetException, - uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; uno::Any aRet; @@ -189,19 +181,17 @@ SC_IMPL_DUMMY_PROPERTY_LISTENER( ScCellSearchObj ) // XServiceInfo -OUString SAL_CALL ScCellSearchObj::getImplementationName() throw(uno::RuntimeException, std::exception) +OUString SAL_CALL ScCellSearchObj::getImplementationName() { return OUString( "ScCellSearchObj" ); } sal_Bool SAL_CALL ScCellSearchObj::supportsService( const OUString& rServiceName ) - throw(uno::RuntimeException, std::exception) { return cppu::supportsService(this, rServiceName); } uno::Sequence<OUString> SAL_CALL ScCellSearchObj::getSupportedServiceNames() - throw(uno::RuntimeException, std::exception) { return {SCSEARCHDESCRIPTOR_SERVICE, SCREPLACEDESCRIPTOR_SERVICE}; } @@ -209,7 +199,7 @@ uno::Sequence<OUString> SAL_CALL ScCellSearchObj::getSupportedServiceNames() // XUnoTunnel sal_Int64 SAL_CALL ScCellSearchObj::getSomething( - const uno::Sequence<sal_Int8 >& rId ) throw(uno::RuntimeException, std::exception) + const uno::Sequence<sal_Int8 >& rId ) { if ( rId.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(), |