Kaydet (Commit) 98528be2 authored tarafından kerem's avatar kerem Kaydeden (comit) Samuel Mehrbrodt

tdf#91054 cleanup weirdo function prototypes

Change-Id: I1002a25e0349263f286d3e3752579660a1ee5728
Reviewed-on: https://gerrit.libreoffice.org/19328Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst a1bfd9d2
...@@ -92,8 +92,7 @@ void SAL_CALL DynamicResultSetWrapper::impl_deinit() ...@@ -92,8 +92,7 @@ void SAL_CALL DynamicResultSetWrapper::impl_deinit()
m_pMyListenerImpl->impl_OwnerDies(); m_pMyListenerImpl->impl_OwnerDies();
} }
void SAL_CALL DynamicResultSetWrapper void SAL_CALL DynamicResultSetWrapper::impl_EnsureNotDisposed()
::impl_EnsureNotDisposed()
throw( DisposedException, RuntimeException ) throw( DisposedException, RuntimeException )
{ {
osl::Guard< osl::Mutex > aGuard( m_aMutex ); osl::Guard< osl::Mutex > aGuard( m_aMutex );
...@@ -102,8 +101,7 @@ void SAL_CALL DynamicResultSetWrapper ...@@ -102,8 +101,7 @@ void SAL_CALL DynamicResultSetWrapper
} }
//virtual //virtual
void SAL_CALL DynamicResultSetWrapper void SAL_CALL DynamicResultSetWrapper::impl_InitResultSetOne( const Reference< XResultSet >& xResultSet )
::impl_InitResultSetOne( const Reference< XResultSet >& xResultSet )
{ {
osl::Guard< osl::Mutex > aGuard( m_aMutex ); osl::Guard< osl::Mutex > aGuard( m_aMutex );
OSL_ENSURE( !m_xSourceResultOne.is(), "Source ResultSet One is set already" ); OSL_ENSURE( !m_xSourceResultOne.is(), "Source ResultSet One is set already" );
...@@ -112,8 +110,7 @@ void SAL_CALL DynamicResultSetWrapper ...@@ -112,8 +110,7 @@ void SAL_CALL DynamicResultSetWrapper
} }
//virtual //virtual
void SAL_CALL DynamicResultSetWrapper void SAL_CALL DynamicResultSetWrapper::impl_InitResultSetTwo( const Reference< XResultSet >& xResultSet )
::impl_InitResultSetTwo( const Reference< XResultSet >& xResultSet )
{ {
osl::Guard< osl::Mutex > aGuard( m_aMutex ); osl::Guard< osl::Mutex > aGuard( m_aMutex );
OSL_ENSURE( !m_xSourceResultTwo.is(), "Source ResultSet Two is set already" ); OSL_ENSURE( !m_xSourceResultTwo.is(), "Source ResultSet Two is set already" );
...@@ -137,8 +134,8 @@ css::uno::Any SAL_CALL DynamicResultSetWrapper::queryInterface( const css::uno:: ...@@ -137,8 +134,8 @@ css::uno::Any SAL_CALL DynamicResultSetWrapper::queryInterface( const css::uno::
// XComponent methods. // XComponent methods.
// virtual // virtual
void SAL_CALL DynamicResultSetWrapper void SAL_CALL DynamicResultSetWrapper::dispose()
::dispose() throw( RuntimeException, std::exception ) throw( RuntimeException, std::exception )
{ {
impl_EnsureNotDisposed(); impl_EnsureNotDisposed();
...@@ -173,8 +170,7 @@ void SAL_CALL DynamicResultSetWrapper ...@@ -173,8 +170,7 @@ void SAL_CALL DynamicResultSetWrapper
// virtual // virtual
void SAL_CALL DynamicResultSetWrapper void SAL_CALL DynamicResultSetWrapper::addEventListener( const Reference< XEventListener >& Listener )
::addEventListener( const Reference< XEventListener >& Listener )
throw( RuntimeException, std::exception ) throw( RuntimeException, std::exception )
{ {
impl_EnsureNotDisposed(); impl_EnsureNotDisposed();
...@@ -189,8 +185,7 @@ void SAL_CALL DynamicResultSetWrapper ...@@ -189,8 +185,7 @@ void SAL_CALL DynamicResultSetWrapper
// virtual // virtual
void SAL_CALL DynamicResultSetWrapper void SAL_CALL DynamicResultSetWrapper::removeEventListener( const Reference< XEventListener >& Listener )
::removeEventListener( const Reference< XEventListener >& Listener )
throw( RuntimeException, std::exception ) throw( RuntimeException, std::exception )
{ {
impl_EnsureNotDisposed(); impl_EnsureNotDisposed();
...@@ -205,8 +200,7 @@ void SAL_CALL DynamicResultSetWrapper ...@@ -205,8 +200,7 @@ void SAL_CALL DynamicResultSetWrapper
//virtual //virtual
void SAL_CALL DynamicResultSetWrapper void SAL_CALL DynamicResultSetWrapper::impl_disposing( const EventObject& )
::impl_disposing( const EventObject& )
throw( RuntimeException ) throw( RuntimeException )
{ {
impl_EnsureNotDisposed(); impl_EnsureNotDisposed();
...@@ -225,8 +219,7 @@ void SAL_CALL DynamicResultSetWrapper ...@@ -225,8 +219,7 @@ void SAL_CALL DynamicResultSetWrapper
} }
//virtual //virtual
void SAL_CALL DynamicResultSetWrapper void SAL_CALL DynamicResultSetWrapper::impl_notify( const ListEvent& Changes )
::impl_notify( const ListEvent& Changes )
throw( RuntimeException ) throw( RuntimeException )
{ {
impl_EnsureNotDisposed(); impl_EnsureNotDisposed();
...@@ -293,8 +286,7 @@ void SAL_CALL DynamicResultSetWrapper ...@@ -293,8 +286,7 @@ void SAL_CALL DynamicResultSetWrapper
// XSourceInitialization // XSourceInitialization
//virtual //virtual
void SAL_CALL DynamicResultSetWrapper void SAL_CALL DynamicResultSetWrapper::setSource( const Reference< XInterface > & Source )
::setSource( const Reference< XInterface > & Source )
throw( AlreadyInitializedException, RuntimeException, std::exception ) throw( AlreadyInitializedException, RuntimeException, std::exception )
{ {
impl_EnsureNotDisposed(); impl_EnsureNotDisposed();
...@@ -335,8 +327,7 @@ void SAL_CALL DynamicResultSetWrapper ...@@ -335,8 +327,7 @@ void SAL_CALL DynamicResultSetWrapper
// XDynamicResultSet // XDynamicResultSet
//virtual //virtual
Reference< XResultSet > SAL_CALL DynamicResultSetWrapper Reference< XResultSet > SAL_CALL DynamicResultSetWrapper::getStaticResultSet()
::getStaticResultSet()
throw( ListenerAlreadySetException, RuntimeException, std::exception ) throw( ListenerAlreadySetException, RuntimeException, std::exception )
{ {
impl_EnsureNotDisposed(); impl_EnsureNotDisposed();
...@@ -367,9 +358,7 @@ Reference< XResultSet > SAL_CALL DynamicResultSetWrapper ...@@ -367,9 +358,7 @@ Reference< XResultSet > SAL_CALL DynamicResultSetWrapper
} }
//virtual //virtual
void SAL_CALL DynamicResultSetWrapper void SAL_CALL DynamicResultSetWrapper::setListener( const Reference< XDynamicResultSetListener > & Listener )
::setListener( const Reference<
XDynamicResultSetListener > & Listener )
throw( ListenerAlreadySetException, RuntimeException, std::exception ) throw( ListenerAlreadySetException, RuntimeException, std::exception )
{ {
impl_EnsureNotDisposed(); impl_EnsureNotDisposed();
...@@ -396,8 +385,7 @@ void SAL_CALL DynamicResultSetWrapper ...@@ -396,8 +385,7 @@ void SAL_CALL DynamicResultSetWrapper
} }
//virtual //virtual
void SAL_CALL DynamicResultSetWrapper void SAL_CALL DynamicResultSetWrapper::connectToCache( const Reference< XDynamicResultSet > & xCache )
::connectToCache( const Reference< XDynamicResultSet > & xCache )
throw( ListenerAlreadySetException, AlreadyInitializedException, ServiceNotFoundException, RuntimeException, std::exception ) throw( ListenerAlreadySetException, AlreadyInitializedException, ServiceNotFoundException, RuntimeException, std::exception )
{ {
impl_EnsureNotDisposed(); impl_EnsureNotDisposed();
...@@ -434,8 +422,7 @@ void SAL_CALL DynamicResultSetWrapper ...@@ -434,8 +422,7 @@ void SAL_CALL DynamicResultSetWrapper
} }
//virtual //virtual
sal_Int16 SAL_CALL DynamicResultSetWrapper sal_Int16 SAL_CALL DynamicResultSetWrapper::getCapabilities()
::getCapabilities()
throw( RuntimeException, std::exception ) throw( RuntimeException, std::exception )
{ {
impl_EnsureNotDisposed(); impl_EnsureNotDisposed();
...@@ -495,8 +482,7 @@ css::uno::Any SAL_CALL DynamicResultSetWrapperListener::queryInterface( const cs ...@@ -495,8 +482,7 @@ css::uno::Any SAL_CALL DynamicResultSetWrapperListener::queryInterface( const cs
// XDynamicResultSetListener methods: // XDynamicResultSetListener methods:
//virtual //virtual
void SAL_CALL DynamicResultSetWrapperListener void SAL_CALL DynamicResultSetWrapperListener::disposing( const EventObject& rEventObject )
::disposing( const EventObject& rEventObject )
throw( RuntimeException, std::exception ) throw( RuntimeException, std::exception )
{ {
osl::Guard< osl::Mutex > aGuard( m_aMutex ); osl::Guard< osl::Mutex > aGuard( m_aMutex );
...@@ -506,8 +492,7 @@ void SAL_CALL DynamicResultSetWrapperListener ...@@ -506,8 +492,7 @@ void SAL_CALL DynamicResultSetWrapperListener
} }
//virtual //virtual
void SAL_CALL DynamicResultSetWrapperListener void SAL_CALL DynamicResultSetWrapperListener::notify( const ListEvent& Changes )
::notify( const ListEvent& Changes )
throw( RuntimeException, std::exception ) throw( RuntimeException, std::exception )
{ {
osl::Guard< osl::Mutex > aGuard( m_aMutex ); osl::Guard< osl::Mutex > aGuard( m_aMutex );
...@@ -520,8 +505,7 @@ void SAL_CALL DynamicResultSetWrapperListener ...@@ -520,8 +505,7 @@ void SAL_CALL DynamicResultSetWrapperListener
// own methods: // own methods:
void SAL_CALL DynamicResultSetWrapperListener void SAL_CALL DynamicResultSetWrapperListener::impl_OwnerDies()
::impl_OwnerDies()
{ {
osl::Guard< osl::Mutex > aGuard( m_aMutex ); osl::Guard< osl::Mutex > aGuard( m_aMutex );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment