diff options
Diffstat (limited to 'dbaccess/source/core/api/definitioncolumn.cxx')
-rw-r--r-- | dbaccess/source/core/api/definitioncolumn.cxx | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/dbaccess/source/core/api/definitioncolumn.cxx b/dbaccess/source/core/api/definitioncolumn.cxx index c8d7e9dc6e2f..477cd1cde9e6 100644 --- a/dbaccess/source/core/api/definitioncolumn.cxx +++ b/dbaccess/source/core/api/definitioncolumn.cxx @@ -84,12 +84,12 @@ void OTableColumnDescriptor::impl_registerProperties() IMPLEMENT_GET_IMPLEMENTATION_ID( OTableColumnDescriptor ) // css::lang::XServiceInfo -OUString OTableColumnDescriptor::getImplementationName( ) throw (RuntimeException, std::exception) +OUString OTableColumnDescriptor::getImplementationName( ) { return OUString("com.sun.star.sdb.OTableColumnDescriptor"); } -Sequence< OUString > OTableColumnDescriptor::getSupportedServiceNames( ) throw (RuntimeException, std::exception) +Sequence< OUString > OTableColumnDescriptor::getSupportedServiceNames( ) { Sequence< OUString > aSNS( 2 ); aSNS[0] = m_bActAsDescriptor ? OUString(SERVICE_SDBCX_COLUMNDESCRIPTOR) : OUString(SERVICE_SDBCX_COLUMN); @@ -111,19 +111,19 @@ Sequence< OUString > OTableColumnDescriptor::getSupportedServiceNames( ) throw return *static_cast< ::comphelper::OPropertyArrayUsageHelper< OTableColumnDescriptor >* >(this)->getArrayHelper(); } -void OTableColumnDescriptor::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) throw (Exception, std::exception) +void OTableColumnDescriptor::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) { OColumn::setFastPropertyValue_NoBroadcast( nHandle, rValue ); ::dbaccess::notifyDataSourceModified( m_xParent, true ); } -Reference< XInterface > SAL_CALL OTableColumnDescriptor::getParent( ) throw (RuntimeException, std::exception) +Reference< XInterface > SAL_CALL OTableColumnDescriptor::getParent( ) { ::osl::MutexGuard aGuard(m_aMutex); return m_xParent; } -void SAL_CALL OTableColumnDescriptor::setParent( const Reference< XInterface >& _xParent ) throw (NoSupportException, RuntimeException, std::exception) +void SAL_CALL OTableColumnDescriptor::setParent( const Reference< XInterface >& _xParent ) { ::osl::MutexGuard aGuard(m_aMutex); m_xParent = _xParent; @@ -143,7 +143,7 @@ OTableColumn::~OTableColumn() IMPLEMENT_GET_IMPLEMENTATION_ID( OTableColumn ) -OUString OTableColumn::getImplementationName( ) throw (RuntimeException, std::exception) +OUString OTableColumn::getImplementationName( ) { return OUString("com.sun.star.sdb.OTableColumn"); } @@ -264,7 +264,7 @@ Reference< XPropertySet > OQueryColumn::impl_determineOriginalTableColumn( const IMPLEMENT_GET_IMPLEMENTATION_ID( OQueryColumn ) -OUString SAL_CALL OQueryColumn::getImplementationName( ) throw(RuntimeException, std::exception) +OUString SAL_CALL OQueryColumn::getImplementationName( ) { return OUString( "org.openoffice.comp.dbaccess.OQueryColumn" ); } @@ -365,7 +365,7 @@ void OColumnWrapper::getFastPropertyValue( Any& rValue, sal_Int32 nHandle ) cons } sal_Bool OColumnWrapper::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nHandle, - const Any& rValue ) throw (IllegalArgumentException) + const Any& rValue ) { bool bModified( false ); if ( OColumn::isRegisteredProperty( nHandle ) ) @@ -384,7 +384,7 @@ sal_Bool OColumnWrapper::convertFastPropertyValue( Any & rConvertedValue, Any & return bModified; } -void OColumnWrapper::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) throw (Exception, std::exception) +void OColumnWrapper::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) { if ( OColumn::isRegisteredProperty( nHandle ) ) { @@ -410,12 +410,12 @@ OTableColumnDescriptorWrapper::OTableColumnDescriptorWrapper( const Reference< X IMPLEMENT_GET_IMPLEMENTATION_ID( OTableColumnDescriptorWrapper ) // css::lang::XServiceInfo -OUString OTableColumnDescriptorWrapper::getImplementationName( ) throw (RuntimeException, std::exception) +OUString OTableColumnDescriptorWrapper::getImplementationName( ) { return OUString("com.sun.star.sdb.OTableColumnDescriptorWrapper"); } -Sequence< OUString > OTableColumnDescriptorWrapper::getSupportedServiceNames( ) throw (RuntimeException, std::exception) +Sequence< OUString > OTableColumnDescriptorWrapper::getSupportedServiceNames( ) { Sequence< OUString > aSNS( 2 ); aSNS[0] = SERVICE_SDBCX_COLUMNDESCRIPTOR; @@ -509,7 +509,7 @@ void OTableColumnDescriptorWrapper::getFastPropertyValue( Any& rValue, sal_Int32 } } -sal_Bool OTableColumnDescriptorWrapper::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nHandle, const Any& rValue ) throw (IllegalArgumentException) +sal_Bool OTableColumnDescriptorWrapper::convertFastPropertyValue( Any & rConvertedValue, Any & rOldValue, sal_Int32 nHandle, const Any& rValue ) { bool bModified(false); if ( m_bPureWrap ) @@ -537,7 +537,6 @@ void OTableColumnDescriptorWrapper::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const Any& rValue ) - throw (Exception, std::exception) { if ( m_bPureWrap ) { @@ -575,12 +574,12 @@ OTableColumnWrapper::~OTableColumnWrapper() IMPLEMENT_GET_IMPLEMENTATION_ID( OTableColumnWrapper ) -OUString OTableColumnWrapper::getImplementationName( ) throw (RuntimeException, std::exception) +OUString OTableColumnWrapper::getImplementationName( ) { return OUString("com.sun.star.sdb.OTableColumnWrapper" ); } -Sequence< OUString > OTableColumnWrapper::getSupportedServiceNames( ) throw (RuntimeException, std::exception) +Sequence< OUString > OTableColumnWrapper::getSupportedServiceNames( ) { Sequence< OUString > aSNS( 2 ); aSNS[0] = SERVICE_SDBCX_COLUMN; |