diff options
Diffstat (limited to 'ucb/source/sorter')
-rw-r--r-- | ucb/source/sorter/sortdynres.cxx | 22 | ||||
-rw-r--r-- | ucb/source/sorter/sortdynres.hxx | 56 | ||||
-rw-r--r-- | ucb/source/sorter/sortresult.cxx | 89 | ||||
-rw-r--r-- | ucb/source/sorter/sortresult.hxx | 195 |
4 files changed, 83 insertions, 279 deletions
diff --git a/ucb/source/sorter/sortdynres.cxx b/ucb/source/sorter/sortdynres.cxx index 4f656eb16c37..0722095256f2 100644 --- a/ucb/source/sorter/sortdynres.cxx +++ b/ucb/source/sorter/sortdynres.cxx @@ -91,19 +91,16 @@ SortedDynamicResultSet::~SortedDynamicResultSet() // XServiceInfo methods. OUString SAL_CALL SortedDynamicResultSet::getImplementationName() - throw( css::uno::RuntimeException, std::exception ) { return OUString( "com.sun.star.comp.ucb.SortedDynamicResultSet" ); } sal_Bool SAL_CALL SortedDynamicResultSet::supportsService( const OUString& ServiceName ) - throw( css::uno::RuntimeException, std::exception ) { return cppu::supportsService( this, ServiceName ); } css::uno::Sequence< OUString > SAL_CALL SortedDynamicResultSet::getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ) { return { DYNAMIC_RESULTSET_SERVICE_NAME }; } @@ -111,7 +108,6 @@ css::uno::Sequence< OUString > SAL_CALL SortedDynamicResultSet::getSupportedServ // XComponent methods. void SAL_CALL SortedDynamicResultSet::dispose() - throw( RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -131,7 +127,6 @@ void SAL_CALL SortedDynamicResultSet::dispose() void SAL_CALL SortedDynamicResultSet::addEventListener( const Reference< XEventListener >& Listener ) - throw( RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -144,7 +139,6 @@ void SAL_CALL SortedDynamicResultSet::addEventListener( void SAL_CALL SortedDynamicResultSet::removeEventListener( const Reference< XEventListener >& Listener ) - throw( RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -157,7 +151,6 @@ void SAL_CALL SortedDynamicResultSet::removeEventListener( Reference< XResultSet > SAL_CALL SortedDynamicResultSet::getStaticResultSet() - throw( ListenerAlreadySetException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -178,7 +171,6 @@ SortedDynamicResultSet::getStaticResultSet() void SAL_CALL SortedDynamicResultSet::setListener( const Reference< XDynamicResultSetListener >& Listener ) - throw( ListenerAlreadySetException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -196,10 +188,6 @@ SortedDynamicResultSet::setListener( const Reference< XDynamicResultSetListener void SAL_CALL SortedDynamicResultSet::connectToCache( const Reference< XDynamicResultSet > & xCache ) - throw( ListenerAlreadySetException, - AlreadyInitializedException, - ServiceNotFoundException, - RuntimeException, std::exception ) { if( mxListener.is() ) throw ListenerAlreadySetException(); @@ -231,7 +219,6 @@ SortedDynamicResultSet::connectToCache( const Reference< XDynamicResultSet > & x sal_Int16 SAL_CALL SortedDynamicResultSet::getCapabilities() - throw( RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -265,7 +252,6 @@ sal_Int16 SAL_CALL SortedDynamicResultSet::getCapabilities() removing himself as listener (otherwise you deadlock)!!! */ void SortedDynamicResultSet::impl_notify( const ListEvent& Changes ) - throw( RuntimeException ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -393,7 +379,6 @@ void SortedDynamicResultSet::impl_notify( const ListEvent& Changes ) // XEventListener void SortedDynamicResultSet::impl_disposing( const EventObject& ) - throw( RuntimeException ) { mxListener.clear(); mxOriginal.clear(); @@ -442,7 +427,6 @@ SortedDynamicResultSetFactory::~SortedDynamicResultSetFactory() // XServiceInfo methods. OUString SAL_CALL SortedDynamicResultSetFactory::getImplementationName() - throw( css::uno::RuntimeException, std::exception ) { return getImplementationName_Static(); } @@ -453,13 +437,11 @@ OUString SortedDynamicResultSetFactory::getImplementationName_Static() } sal_Bool SAL_CALL SortedDynamicResultSetFactory::supportsService( const OUString& ServiceName ) - throw( css::uno::RuntimeException, std::exception ) { return cppu::supportsService( this, ServiceName ); } css::uno::Sequence< OUString > SAL_CALL SortedDynamicResultSetFactory::getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ) { return getSupportedServiceNames_Static(); } @@ -468,7 +450,6 @@ css::uno::Sequence< OUString > SAL_CALL SortedDynamicResultSetFactory::getSuppor static css::uno::Reference< css::uno::XInterface > SAL_CALL SortedDynamicResultSetFactory_CreateInstance( const css::uno::Reference< css::lang::XMultiServiceFactory> & rSMgr ) - throw( css::uno::Exception ) { css::lang::XServiceInfo* pX = static_cast<css::lang::XServiceInfo*>( new SortedDynamicResultSetFactory( ucbhelper::getComponentContext(rSMgr) )); @@ -501,7 +482,6 @@ SortedDynamicResultSetFactory::createSortedDynamicResultSet( const Reference< XDynamicResultSet > & Source, const Sequence< NumberedSortingInfo > & Info, const Reference< XAnyCompareFactory > & CompareFactory ) - throw( RuntimeException, std::exception ) { Reference< XDynamicResultSet > xRet; xRet = new SortedDynamicResultSet( Source, Info, CompareFactory, m_xContext ); @@ -547,7 +527,6 @@ SortedDynamicResultSetListener::~SortedDynamicResultSetListener() void SAL_CALL SortedDynamicResultSetListener::disposing( const EventObject& Source ) - throw( RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -560,7 +539,6 @@ SortedDynamicResultSetListener::disposing( const EventObject& Source ) void SAL_CALL SortedDynamicResultSetListener::notify( const ListEvent& Changes ) - throw( RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); diff --git a/ucb/source/sorter/sortdynres.hxx b/ucb/source/sorter/sortdynres.hxx index b931774f2c2f..8e24cb70635c 100644 --- a/ucb/source/sorter/sortdynres.hxx +++ b/ucb/source/sorter/sortdynres.hxx @@ -77,56 +77,42 @@ public: // XServiceInfo - virtual OUString SAL_CALL getImplementationName() - throw( css::uno::RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw( css::uno::RuntimeException, std::exception ) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; // XComponent - virtual void SAL_CALL dispose() throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL dispose() override; virtual void SAL_CALL - addEventListener( const css::uno::Reference< css::lang::XEventListener >& Listener ) - throw( css::uno::RuntimeException, std::exception ) override; + addEventListener( const css::uno::Reference< css::lang::XEventListener >& Listener ) override; virtual void SAL_CALL - removeEventListener( const css::uno::Reference< css::lang::XEventListener >& Listener ) - throw( css::uno::RuntimeException, std::exception ) override; + removeEventListener( const css::uno::Reference< css::lang::XEventListener >& Listener ) override; // XDynamicResultSet - virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getStaticResultSet() - throw( css::ucb::ListenerAlreadySetException, css::uno::RuntimeException, std::exception ) override; + virtual css::uno::Reference< css::sdbc::XResultSet > SAL_CALL getStaticResultSet() override; virtual void SAL_CALL - setListener( const css::uno::Reference< css::ucb::XDynamicResultSetListener >& Listener ) - throw( css::ucb::ListenerAlreadySetException, css::uno::RuntimeException, std::exception ) override; + setListener( const css::uno::Reference< css::ucb::XDynamicResultSetListener >& Listener ) override; virtual void SAL_CALL - connectToCache( const css::uno::Reference< css::ucb::XDynamicResultSet > & xCache ) - throw( css::ucb::ListenerAlreadySetException, - css::ucb::AlreadyInitializedException, - css::ucb::ServiceNotFoundException, - css::uno::RuntimeException, std::exception ) override; + connectToCache( const css::uno::Reference< css::ucb::XDynamicResultSet > & xCache ) override; virtual sal_Int16 SAL_CALL - getCapabilities() - throw( css::uno::RuntimeException, std::exception ) override; + getCapabilities() override; // own methods: /// @throws css::uno::RuntimeException - void impl_disposing( const css::lang::EventObject& Source ) - throw( css::uno::RuntimeException ); + void impl_disposing( const css::lang::EventObject& Source ); /// @throws css::uno::RuntimeException - void impl_notify( const css::ucb::ListEvent& Changes ) - throw( css::uno::RuntimeException ); + void impl_notify( const css::ucb::ListEvent& Changes ); }; class SortedDynamicResultSetListener: public cppu::WeakImplHelper < @@ -142,13 +128,11 @@ public: // XEventListener ( base of XDynamicResultSetListener ) virtual void SAL_CALL - disposing( const css::lang::EventObject& Source ) - throw( css::uno::RuntimeException, std::exception ) override; + disposing( const css::lang::EventObject& Source ) override; // XDynamicResultSetListener - virtual void SAL_CALL notify( const css::ucb::ListEvent& Changes ) - throw( css::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL notify( const css::ucb::ListEvent& Changes ) override; // own methods: @@ -177,12 +161,9 @@ public: // XSortedDynamicResultSetFactory - virtual OUString SAL_CALL getImplementationName() - throw( css::uno::RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw( css::uno::RuntimeException, std::exception ) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; static OUString getImplementationName_Static(); static css::uno::Sequence< OUString > getSupportedServiceNames_Static(); @@ -190,8 +171,7 @@ public: createSortedDynamicResultSet( const css::uno::Reference< css::ucb::XDynamicResultSet > & Source, const css::uno::Sequence< css::ucb::NumberedSortingInfo > & Info, - const css::uno::Reference< css::ucb::XAnyCompareFactory > & CompareFactory ) - throw( css::uno::RuntimeException, std::exception ) override; + const css::uno::Reference< css::ucb::XAnyCompareFactory > & CompareFactory ) override; }; #endif diff --git a/ucb/source/sorter/sortresult.cxx b/ucb/source/sorter/sortresult.cxx index 24a507a066a7..aa5580b06eb4 100644 --- a/ucb/source/sorter/sortresult.cxx +++ b/ucb/source/sorter/sortresult.cxx @@ -99,12 +99,9 @@ public: SRSPropertySetInfo(); // XPropertySetInfo - virtual Sequence< Property > SAL_CALL getProperties() - throw( RuntimeException, std::exception ) override; - virtual Property SAL_CALL getPropertyByName( const OUString& aName ) - throw( UnknownPropertyException, RuntimeException, std::exception ) override; - virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) - throw( RuntimeException, std::exception ) override; + virtual Sequence< Property > SAL_CALL getProperties() override; + virtual Property SAL_CALL getPropertyByName( const OUString& aName ) override; + virtual sal_Bool SAL_CALL hasPropertyByName( const OUString& Name ) override; }; typedef OMultiTypeInterfaceContainerHelperVar<OUString> @@ -161,19 +158,16 @@ SortedResultSet::~SortedResultSet() // XServiceInfo methods. OUString SAL_CALL SortedResultSet::getImplementationName() - throw( css::uno::RuntimeException, std::exception ) { return OUString( "com.sun.star.comp.ucb.SortedResultSet" ); } sal_Bool SAL_CALL SortedResultSet::supportsService( const OUString& ServiceName ) - throw( css::uno::RuntimeException, std::exception ) { return cppu::supportsService( this, ServiceName ); } css::uno::Sequence< OUString > SAL_CALL SortedResultSet::getSupportedServiceNames() - throw( css::uno::RuntimeException, std::exception ) { return { RESULTSET_SERVICE_NAME }; } @@ -182,7 +176,6 @@ css::uno::Sequence< OUString > SAL_CALL SortedResultSet::getSupportedServiceName // XComponent methods. void SAL_CALL SortedResultSet::dispose() - throw( RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -214,7 +207,6 @@ void SAL_CALL SortedResultSet::dispose() void SAL_CALL SortedResultSet::addEventListener( const Reference< XEventListener >& Listener ) - throw( RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -228,7 +220,6 @@ void SAL_CALL SortedResultSet::addEventListener( void SAL_CALL SortedResultSet::removeEventListener( const Reference< XEventListener >& Listener ) - throw( RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -242,7 +233,6 @@ void SAL_CALL SortedResultSet::removeEventListener( OUString SAL_CALL SortedResultSet::queryContentIdentifierString() - throw( RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XContentAccess >::query(mxOriginal)->queryContentIdentifierString(); @@ -251,7 +241,6 @@ SortedResultSet::queryContentIdentifierString() Reference< XContentIdentifier > SAL_CALL SortedResultSet::queryContentIdentifier() - throw( RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XContentAccess >::query(mxOriginal)->queryContentIdentifier(); @@ -260,7 +249,6 @@ SortedResultSet::queryContentIdentifier() Reference< XContent > SAL_CALL SortedResultSet::queryContent() - throw( RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XContentAccess >::query(mxOriginal)->queryContent(); @@ -270,7 +258,6 @@ SortedResultSet::queryContent() // XResultSet methods. sal_Bool SAL_CALL SortedResultSet::next() - throw ( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -293,7 +280,6 @@ sal_Bool SAL_CALL SortedResultSet::next() sal_Bool SAL_CALL SortedResultSet::isBeforeFirst() - throw ( SQLException, RuntimeException, std::exception ) { if ( mnCurEntry ) return false; @@ -303,7 +289,6 @@ sal_Bool SAL_CALL SortedResultSet::isBeforeFirst() sal_Bool SAL_CALL SortedResultSet::isAfterLast() - throw ( SQLException, RuntimeException, std::exception ) { if ( mnCurEntry > mnCount ) return true; @@ -313,7 +298,6 @@ sal_Bool SAL_CALL SortedResultSet::isAfterLast() sal_Bool SAL_CALL SortedResultSet::isFirst() - throw ( SQLException, RuntimeException, std::exception ) { if ( mnCurEntry == 1 ) return true; @@ -323,7 +307,6 @@ sal_Bool SAL_CALL SortedResultSet::isFirst() sal_Bool SAL_CALL SortedResultSet::isLast() - throw ( SQLException, RuntimeException, std::exception ) { if ( mnCurEntry == mnCount ) return true; @@ -333,7 +316,6 @@ sal_Bool SAL_CALL SortedResultSet::isLast() void SAL_CALL SortedResultSet::beforeFirst() - throw ( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); mnCurEntry = 0; @@ -342,7 +324,6 @@ void SAL_CALL SortedResultSet::beforeFirst() void SAL_CALL SortedResultSet::afterLast() - throw ( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); mnCurEntry = mnCount+1; @@ -351,7 +332,6 @@ void SAL_CALL SortedResultSet::afterLast() sal_Bool SAL_CALL SortedResultSet::first() - throw ( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -370,7 +350,6 @@ sal_Bool SAL_CALL SortedResultSet::first() sal_Bool SAL_CALL SortedResultSet::last() - throw ( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -389,7 +368,6 @@ sal_Bool SAL_CALL SortedResultSet::last() sal_Int32 SAL_CALL SortedResultSet::getRow() - throw ( SQLException, RuntimeException, std::exception ) { return mnCurEntry; } @@ -421,7 +399,6 @@ sal_Int32 SAL_CALL SortedResultSet::getRow() type is FORWARD_ONLY. */ sal_Bool SAL_CALL SortedResultSet::absolute( sal_Int32 row ) - throw ( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -484,7 +461,6 @@ sal_Bool SAL_CALL SortedResultSet::absolute( sal_Int32 row ) current row, or the result set type is FORWARD_ONLY. */ sal_Bool SAL_CALL SortedResultSet::relative( sal_Int32 rows ) - throw ( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -529,7 +505,6 @@ sal_Bool SAL_CALL SortedResultSet::relative( sal_Int32 rows ) is FORWARD_ONLY. */ sal_Bool SAL_CALL SortedResultSet::previous() - throw ( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -551,7 +526,6 @@ sal_Bool SAL_CALL SortedResultSet::previous() void SAL_CALL SortedResultSet::refreshRow() - throw ( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -565,7 +539,6 @@ void SAL_CALL SortedResultSet::refreshRow() sal_Bool SAL_CALL SortedResultSet::rowUpdated() - throw ( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -579,7 +552,6 @@ sal_Bool SAL_CALL SortedResultSet::rowUpdated() sal_Bool SAL_CALL SortedResultSet::rowInserted() - throw ( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -593,7 +565,6 @@ sal_Bool SAL_CALL SortedResultSet::rowInserted() sal_Bool SAL_CALL SortedResultSet::rowDeleted() - throw ( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -607,7 +578,6 @@ sal_Bool SAL_CALL SortedResultSet::rowDeleted() Reference< XInterface > SAL_CALL SortedResultSet::getStatement() - throw ( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -624,7 +594,6 @@ Reference< XInterface > SAL_CALL SortedResultSet::getStatement() sal_Bool SAL_CALL SortedResultSet::wasNull() - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->wasNull(); @@ -632,7 +601,6 @@ sal_Bool SAL_CALL SortedResultSet::wasNull() OUString SAL_CALL SortedResultSet::getString( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getString( columnIndex ); @@ -640,7 +608,6 @@ OUString SAL_CALL SortedResultSet::getString( sal_Int32 columnIndex ) sal_Bool SAL_CALL SortedResultSet::getBoolean( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getBoolean( columnIndex ); @@ -648,7 +615,6 @@ sal_Bool SAL_CALL SortedResultSet::getBoolean( sal_Int32 columnIndex ) sal_Int8 SAL_CALL SortedResultSet::getByte( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getByte( columnIndex ); @@ -656,7 +622,6 @@ sal_Int8 SAL_CALL SortedResultSet::getByte( sal_Int32 columnIndex ) sal_Int16 SAL_CALL SortedResultSet::getShort( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getShort( columnIndex ); @@ -664,14 +629,12 @@ sal_Int16 SAL_CALL SortedResultSet::getShort( sal_Int32 columnIndex ) sal_Int32 SAL_CALL SortedResultSet::getInt( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getInt( columnIndex ); } sal_Int64 SAL_CALL SortedResultSet::getLong( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getLong( columnIndex ); @@ -679,7 +642,6 @@ sal_Int64 SAL_CALL SortedResultSet::getLong( sal_Int32 columnIndex ) float SAL_CALL SortedResultSet::getFloat( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getFloat( columnIndex ); @@ -687,7 +649,6 @@ float SAL_CALL SortedResultSet::getFloat( sal_Int32 columnIndex ) double SAL_CALL SortedResultSet::getDouble( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getDouble( columnIndex ); @@ -695,7 +656,6 @@ double SAL_CALL SortedResultSet::getDouble( sal_Int32 columnIndex ) Sequence< sal_Int8 > SAL_CALL SortedResultSet::getBytes( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getBytes( columnIndex ); @@ -703,7 +663,6 @@ Sequence< sal_Int8 > SAL_CALL SortedResultSet::getBytes( sal_Int32 columnIndex ) Date SAL_CALL SortedResultSet::getDate( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getDate( columnIndex ); @@ -711,7 +670,6 @@ Date SAL_CALL SortedResultSet::getDate( sal_Int32 columnIndex ) Time SAL_CALL SortedResultSet::getTime( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getTime( columnIndex ); @@ -719,7 +677,6 @@ Time SAL_CALL SortedResultSet::getTime( sal_Int32 columnIndex ) DateTime SAL_CALL SortedResultSet::getTimestamp( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getTimestamp( columnIndex ); @@ -728,7 +685,6 @@ DateTime SAL_CALL SortedResultSet::getTimestamp( sal_Int32 columnIndex ) Reference< XInputStream > SAL_CALL SortedResultSet::getBinaryStream( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getBinaryStream( columnIndex ); @@ -737,7 +693,6 @@ SortedResultSet::getBinaryStream( sal_Int32 columnIndex ) Reference< XInputStream > SAL_CALL SortedResultSet::getCharacterStream( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getCharacterStream( columnIndex ); @@ -746,7 +701,6 @@ SortedResultSet::getCharacterStream( sal_Int32 columnIndex ) Any SAL_CALL SortedResultSet::getObject( sal_Int32 columnIndex, const Reference< XNameAccess >& typeMap ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getObject( columnIndex, @@ -755,7 +709,6 @@ Any SAL_CALL SortedResultSet::getObject( sal_Int32 columnIndex, Reference< XRef > SAL_CALL SortedResultSet::getRef( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getRef( columnIndex ); @@ -763,7 +716,6 @@ Reference< XRef > SAL_CALL SortedResultSet::getRef( sal_Int32 columnIndex ) Reference< XBlob > SAL_CALL SortedResultSet::getBlob( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getBlob( columnIndex ); @@ -771,7 +723,6 @@ Reference< XBlob > SAL_CALL SortedResultSet::getBlob( sal_Int32 columnIndex ) Reference< XClob > SAL_CALL SortedResultSet::getClob( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getClob( columnIndex ); @@ -779,7 +730,6 @@ Reference< XClob > SAL_CALL SortedResultSet::getClob( sal_Int32 columnIndex ) Reference< XArray > SAL_CALL SortedResultSet::getArray( sal_Int32 columnIndex ) - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XRow >::query(mxOriginal)->getArray( columnIndex ); @@ -790,7 +740,6 @@ Reference< XArray > SAL_CALL SortedResultSet::getArray( sal_Int32 columnIndex ) void SAL_CALL SortedResultSet::close() - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); Reference< XCloseable >::query(mxOriginal)->close(); @@ -801,7 +750,6 @@ void SAL_CALL SortedResultSet::close() Reference< XResultSetMetaData > SAL_CALL SortedResultSet::getMetaData() - throw( SQLException, RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); return Reference< XResultSetMetaDataSupplier >::query(mxOriginal)->getMetaData(); @@ -812,7 +760,7 @@ Reference< XResultSetMetaData > SAL_CALL SortedResultSet::getMetaData() Reference< XPropertySetInfo > SAL_CALL -SortedResultSet::getPropertySetInfo() throw( RuntimeException, std::exception ) +SortedResultSet::getPropertySetInfo() { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -828,11 +776,6 @@ SortedResultSet::getPropertySetInfo() throw( RuntimeException, std::exception ) void SAL_CALL SortedResultSet::setPropertyValue( const OUString& PropertyName, const Any& ) - throw( UnknownPropertyException, - PropertyVetoException, - IllegalArgumentException, - WrappedTargetException, - RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -844,9 +787,6 @@ void SAL_CALL SortedResultSet::setPropertyValue( Any SAL_CALL SortedResultSet::getPropertyValue( const OUString& PropertyName ) - throw( UnknownPropertyException, - WrappedTargetException, - RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -887,9 +827,6 @@ Any SAL_CALL SortedResultSet::getPropertyValue( const OUString& PropertyName ) void SAL_CALL SortedResultSet::addPropertyChangeListener( const OUString& PropertyName, const Reference< XPropertyChangeListener >& Listener ) - throw( UnknownPropertyException, - WrappedTargetException, - RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -904,9 +841,6 @@ void SAL_CALL SortedResultSet::addPropertyChangeListener( void SAL_CALL SortedResultSet::removePropertyChangeListener( const OUString& PropertyName, const Reference< XPropertyChangeListener >& Listener ) - throw( UnknownPropertyException, - WrappedTargetException, - RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -918,9 +852,6 @@ void SAL_CALL SortedResultSet::removePropertyChangeListener( void SAL_CALL SortedResultSet::addVetoableChangeListener( const OUString& PropertyName, const Reference< XVetoableChangeListener >& Listener ) - throw( UnknownPropertyException, - WrappedTargetException, - RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -935,9 +866,6 @@ void SAL_CALL SortedResultSet::addVetoableChangeListener( void SAL_CALL SortedResultSet::removeVetoableChangeListener( const OUString& PropertyName, const Reference< XVetoableChangeListener >& Listener ) - throw( UnknownPropertyException, - WrappedTargetException, - RuntimeException, std::exception ) { osl::Guard< osl::Mutex > aGuard( maMutex ); @@ -952,8 +880,6 @@ sal_IntPtr SortedResultSet::CompareImpl( const Reference < XResultSet >& xResult const Reference < XResultSet >& xResultTwo, sal_IntPtr nIndexOne, sal_IntPtr nIndexTwo, SortInfo* pSortInfo ) - - throw( SQLException, RuntimeException ) { Reference < XRow > xRowOne( xResultOne, UNO_QUERY ); Reference < XRow > xRowTwo( xResultTwo, UNO_QUERY ); @@ -1166,7 +1092,6 @@ sal_IntPtr SortedResultSet::CompareImpl( const Reference < XResultSet >& xResult sal_IntPtr SortedResultSet::CompareImpl( const Reference < XResultSet >& xResultOne, const Reference < XResultSet >& xResultTwo, sal_IntPtr nIndexOne, sal_IntPtr nIndexTwo ) - throw( SQLException, RuntimeException ) { sal_IntPtr nCompare = 0; SortInfo* pInfo = mpSortInfo; @@ -1207,7 +1132,6 @@ sal_IntPtr SortedResultSet::CompareImpl( const Reference < XResultSet >& xResult sal_IntPtr SortedResultSet::Compare( SortListData *pOne, SortListData *pTwo ) - throw( SQLException, RuntimeException ) { sal_IntPtr nIndexOne; sal_IntPtr nIndexTwo; @@ -1246,7 +1170,6 @@ sal_IntPtr SortedResultSet::Compare( SortListData *pOne, sal_IntPtr SortedResultSet::FindPos( SortListData *pEntry, sal_IntPtr _nStart, sal_IntPtr _nEnd ) - throw( SQLException, RuntimeException ) { if ( _nStart > _nEnd ) return _nStart + 1; @@ -1872,7 +1795,7 @@ SRSPropertySetInfo::SRSPropertySetInfo() // XPropertySetInfo methods. Sequence< Property > SAL_CALL -SRSPropertySetInfo::getProperties() throw( RuntimeException, std::exception ) +SRSPropertySetInfo::getProperties() { return Sequence < Property > ( maProps, 2 ); } @@ -1880,7 +1803,6 @@ SRSPropertySetInfo::getProperties() throw( RuntimeException, std::exception ) Property SAL_CALL SRSPropertySetInfo::getPropertyByName( const OUString& Name ) - throw( UnknownPropertyException, RuntimeException, std::exception ) { if ( Name == "RowCount" ) return maProps[0]; @@ -1893,7 +1815,6 @@ SRSPropertySetInfo::getPropertyByName( const OUString& Name ) sal_Bool SAL_CALL SRSPropertySetInfo::hasPropertyByName( const OUString& Name ) - throw( RuntimeException, std::exception ) { if ( Name == "RowCount" ) return true; diff --git a/ucb/source/sorter/sortresult.hxx b/ucb/source/sorter/sortresult.hxx index f68d3ed69f89..9547bb827e1a 100644 --- a/ucb/source/sorter/sortresult.hxx +++ b/ucb/source/sorter/sortresult.hxx @@ -120,13 +120,11 @@ class SortedResultSet: public cppu::WeakImplHelper < private: /// @throws css::sdbc::SQLException /// @throws css::uno::RuntimeException - sal_IntPtr FindPos( SortListData *pEntry, sal_IntPtr nStart, sal_IntPtr nEnd ) - throw( css::sdbc::SQLException, css::uno::RuntimeException ); + sal_IntPtr FindPos( SortListData *pEntry, sal_IntPtr nStart, sal_IntPtr nEnd ); /// @throws css::sdbc::SQLException /// @throws css::uno::RuntimeException sal_IntPtr Compare( SortListData *pOne, - SortListData *pTwo ) - throw( css::sdbc::SQLException, css::uno::RuntimeException ); + SortListData *pTwo ); void BuildSortInfo( const css::uno::Reference< css::sdbc::XResultSet >& aResult, const css::uno::Sequence < css::ucb::NumberedSortingInfo > &xSortInfo, const css::uno::Reference< css::ucb::XAnyCompareFactory > &xCompFac ); @@ -135,14 +133,12 @@ private: static sal_IntPtr CompareImpl( const css::uno::Reference < css::sdbc::XResultSet >& xResultOne, const css::uno::Reference < css::sdbc::XResultSet >& xResultTwo, sal_IntPtr nIndexOne, sal_IntPtr nIndexTwo, - SortInfo* pSortInfo ) - throw( css::sdbc::SQLException, css::uno::RuntimeException ); + SortInfo* pSortInfo ); /// @throws css::sdbc::SQLException /// @throws css::uno::RuntimeException sal_IntPtr CompareImpl( const css::uno::Reference < css::sdbc::XResultSet >& xResultOne, const css::uno::Reference < css::sdbc::XResultSet >& xResultTwo, - sal_IntPtr nIndexOne, sal_IntPtr nIndexTwo ) - throw( css::sdbc::SQLException, css::uno::RuntimeException ); + sal_IntPtr nIndexOne, sal_IntPtr nIndexTwo ); void PropertyChanged( const css::beans::PropertyChangeEvent& rEvt ); public: @@ -165,245 +161,174 @@ public: void ResortNew( EventList* pList ); // XServiceInfo - virtual OUString SAL_CALL getImplementationName() - throw( css::uno::RuntimeException, - std::exception ) override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) - throw( css::uno::RuntimeException, - std::exception ) override; - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() - throw( css::uno::RuntimeException, - std::exception ) override; + virtual OUString SAL_CALL getImplementationName() override; + virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override; // XComponent virtual void SAL_CALL - dispose() throw( css::uno::RuntimeException, std::exception ) override; + dispose() override; virtual void SAL_CALL - addEventListener( const css::uno::Reference< css::lang::XEventListener >& Listener ) - throw( css::uno::RuntimeException, std::exception ) override; + addEventListener( const css::uno::Reference< css::lang::XEventListener >& Listener ) override; virtual void SAL_CALL - removeEventListener( const css::uno::Reference< css::lang::XEventListener >& Listener ) - throw( css::uno::RuntimeException, std::exception ) override; + removeEventListener( const css::uno::Reference< css::lang::XEventListener >& Listener ) override; // XContentAccess virtual OUString SAL_CALL - queryContentIdentifierString() - throw( css::uno::RuntimeException, std::exception ) override; + queryContentIdentifierString() override; virtual css::uno::Reference< css::ucb::XContentIdentifier > SAL_CALL - queryContentIdentifier() - throw( css::uno::RuntimeException, std::exception ) override; + queryContentIdentifier() override; virtual css::uno::Reference< css::ucb::XContent > SAL_CALL - queryContent() - throw( css::uno::RuntimeException, std::exception ) override; + queryContent() override; // XResultSet virtual sal_Bool SAL_CALL - next() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + next() override; virtual sal_Bool SAL_CALL - isBeforeFirst() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + isBeforeFirst() override; virtual sal_Bool SAL_CALL - isAfterLast() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + isAfterLast() override; virtual sal_Bool SAL_CALL - isFirst() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + isFirst() override; virtual sal_Bool SAL_CALL - isLast() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + isLast() override; virtual void SAL_CALL - beforeFirst() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + beforeFirst() override; virtual void SAL_CALL - afterLast() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + afterLast() override; virtual sal_Bool SAL_CALL - first() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + first() override; virtual sal_Bool SAL_CALL - last() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + last() override; virtual sal_Int32 SAL_CALL - getRow() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getRow() override; virtual sal_Bool SAL_CALL - absolute( sal_Int32 row ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + absolute( sal_Int32 row ) override; virtual sal_Bool SAL_CALL - relative( sal_Int32 rows ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + relative( sal_Int32 rows ) override; virtual sal_Bool SAL_CALL - previous() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + previous() override; virtual void SAL_CALL - refreshRow() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + refreshRow() override; virtual sal_Bool SAL_CALL - rowUpdated() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + rowUpdated() override; virtual sal_Bool SAL_CALL - rowInserted() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + rowInserted() override; virtual sal_Bool SAL_CALL - rowDeleted() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + rowDeleted() override; virtual css::uno::Reference< css::uno::XInterface > SAL_CALL - getStatement() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getStatement() override; // XRow virtual sal_Bool SAL_CALL - wasNull() throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + wasNull() override; virtual OUString SAL_CALL - getString( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getString( sal_Int32 columnIndex ) override; virtual sal_Bool SAL_CALL - getBoolean( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getBoolean( sal_Int32 columnIndex ) override; virtual sal_Int8 SAL_CALL - getByte( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getByte( sal_Int32 columnIndex ) override; virtual sal_Int16 SAL_CALL - getShort( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getShort( sal_Int32 columnIndex ) override; virtual sal_Int32 SAL_CALL - getInt( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getInt( sal_Int32 columnIndex ) override; virtual sal_Int64 SAL_CALL - getLong( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getLong( sal_Int32 columnIndex ) override; virtual float SAL_CALL - getFloat( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getFloat( sal_Int32 columnIndex ) override; virtual double SAL_CALL - getDouble( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getDouble( sal_Int32 columnIndex ) override; virtual css::uno::Sequence< sal_Int8 > SAL_CALL - getBytes( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getBytes( sal_Int32 columnIndex ) override; virtual css::util::Date SAL_CALL - getDate( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getDate( sal_Int32 columnIndex ) override; virtual css::util::Time SAL_CALL - getTime( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getTime( sal_Int32 columnIndex ) override; virtual css::util::DateTime SAL_CALL - getTimestamp( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getTimestamp( sal_Int32 columnIndex ) override; virtual css::uno::Reference< css::io::XInputStream > SAL_CALL - getBinaryStream( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getBinaryStream( sal_Int32 columnIndex ) override; virtual css::uno::Reference< css::io::XInputStream > SAL_CALL - getCharacterStream( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getCharacterStream( sal_Int32 columnIndex ) override; virtual css::uno::Any SAL_CALL getObject( sal_Int32 columnIndex, const css::uno::Reference< - css::container::XNameAccess >& typeMap ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + css::container::XNameAccess >& typeMap ) override; virtual css::uno::Reference< css::sdbc::XRef > SAL_CALL - getRef( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getRef( sal_Int32 columnIndex ) override; virtual css::uno::Reference< css::sdbc::XBlob > SAL_CALL - getBlob( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getBlob( sal_Int32 columnIndex ) override; virtual css::uno::Reference< css::sdbc::XClob > SAL_CALL - getClob( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getClob( sal_Int32 columnIndex ) override; virtual css::uno::Reference< css::sdbc::XArray > SAL_CALL - getArray( sal_Int32 columnIndex ) - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getArray( sal_Int32 columnIndex ) override; // XCloseable virtual void SAL_CALL - close() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + close() override; // XResultSetMetaDataSupplier virtual css::uno::Reference< css::sdbc::XResultSetMetaData > SAL_CALL - getMetaData() - throw( css::sdbc::SQLException, css::uno::RuntimeException, std::exception ) override; + getMetaData() override; // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL - getPropertySetInfo() - throw( css::uno::RuntimeException, std::exception ) override; + getPropertySetInfo() override; virtual void SAL_CALL setPropertyValue( const OUString& PropertyName, - const css::uno::Any& Value ) - throw( css::beans::UnknownPropertyException, - css::beans::PropertyVetoException, - css::lang::IllegalArgumentException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception ) override; + const css::uno::Any& Value ) override; virtual css::uno::Any SAL_CALL - getPropertyValue( const OUString& PropertyName ) - throw( css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception ) override; + getPropertyValue( const OUString& PropertyName ) override; virtual void SAL_CALL addPropertyChangeListener( const OUString& PropertyName, const css::uno::Reference< - css::beans::XPropertyChangeListener >& Listener ) - throw( css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception ) override; + css::beans::XPropertyChangeListener >& Listener ) override; virtual void SAL_CALL removePropertyChangeListener( const OUString& PropertyName, const css::uno::Reference< - css::beans::XPropertyChangeListener >& Listener ) - throw( css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception ) override; + css::beans::XPropertyChangeListener >& Listener ) override; virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< - css::beans::XVetoableChangeListener >& Listener ) - throw( css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception ) override; + css::beans::XVetoableChangeListener >& Listener ) override; virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const css::uno::Reference< - css::beans::XVetoableChangeListener >& aListener ) - throw( css::beans::UnknownPropertyException, - css::lang::WrappedTargetException, - css::uno::RuntimeException, std::exception ) override; + css::beans::XVetoableChangeListener >& aListener ) override; }; #endif |