diff options
Diffstat (limited to 'toolkit/source/controls/grid/gridcolumn.cxx')
-rw-r--r-- | toolkit/source/controls/grid/gridcolumn.cxx | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/toolkit/source/controls/grid/gridcolumn.cxx b/toolkit/source/controls/grid/gridcolumn.cxx index 90f79dae8fa8..55623f29a1ed 100644 --- a/toolkit/source/controls/grid/gridcolumn.cxx +++ b/toolkit/source/controls/grid/gridcolumn.cxx @@ -93,106 +93,106 @@ namespace toolkit } - css::uno::Any SAL_CALL GridColumn::getIdentifier() throw (css::uno::RuntimeException, std::exception) + css::uno::Any SAL_CALL GridColumn::getIdentifier() { ::comphelper::ComponentGuard aGuard( *this, rBHelper ); return m_aIdentifier; } - void SAL_CALL GridColumn::setIdentifier(const css::uno::Any & value) throw (css::uno::RuntimeException, std::exception) + void SAL_CALL GridColumn::setIdentifier(const css::uno::Any & value) { ::comphelper::ComponentGuard aGuard( *this, rBHelper ); m_aIdentifier = value; } - ::sal_Int32 SAL_CALL GridColumn::getColumnWidth() throw (css::uno::RuntimeException, std::exception) + ::sal_Int32 SAL_CALL GridColumn::getColumnWidth() { ::comphelper::ComponentGuard aGuard( *this, rBHelper ); return m_nColumnWidth; } - void SAL_CALL GridColumn::setColumnWidth(::sal_Int32 value) throw (css::uno::RuntimeException, std::exception) + void SAL_CALL GridColumn::setColumnWidth(::sal_Int32 value) { impl_set( m_nColumnWidth, value, "ColumnWidth" ); } - ::sal_Int32 SAL_CALL GridColumn::getMaxWidth() throw (css::uno::RuntimeException, std::exception) + ::sal_Int32 SAL_CALL GridColumn::getMaxWidth() { ::comphelper::ComponentGuard aGuard( *this, rBHelper ); return m_nMaxWidth; } - void SAL_CALL GridColumn::setMaxWidth(::sal_Int32 value) throw (css::uno::RuntimeException, std::exception) + void SAL_CALL GridColumn::setMaxWidth(::sal_Int32 value) { impl_set( m_nMaxWidth, value, "MaxWidth" ); } - ::sal_Int32 SAL_CALL GridColumn::getMinWidth() throw (css::uno::RuntimeException, std::exception) + ::sal_Int32 SAL_CALL GridColumn::getMinWidth() { ::comphelper::ComponentGuard aGuard( *this, rBHelper ); return m_nMinWidth; } - void SAL_CALL GridColumn::setMinWidth(::sal_Int32 value) throw (css::uno::RuntimeException, std::exception) + void SAL_CALL GridColumn::setMinWidth(::sal_Int32 value) { impl_set( m_nMinWidth, value, "MinWidth" ); } - OUString SAL_CALL GridColumn::getTitle() throw (css::uno::RuntimeException, std::exception) + OUString SAL_CALL GridColumn::getTitle() { ::comphelper::ComponentGuard aGuard( *this, rBHelper ); return m_sTitle; } - void SAL_CALL GridColumn::setTitle(const OUString & value) throw (css::uno::RuntimeException, std::exception) + void SAL_CALL GridColumn::setTitle(const OUString & value) { impl_set( m_sTitle, value, "Title" ); } - OUString SAL_CALL GridColumn::getHelpText() throw (RuntimeException, std::exception) + OUString SAL_CALL GridColumn::getHelpText() { ::comphelper::ComponentGuard aGuard( *this, rBHelper ); return m_sHelpText; } - void SAL_CALL GridColumn::setHelpText( const OUString & value ) throw (RuntimeException, std::exception) + void SAL_CALL GridColumn::setHelpText( const OUString & value ) { impl_set( m_sHelpText, value, "HelpText" ); } - sal_Bool SAL_CALL GridColumn::getResizeable() throw (css::uno::RuntimeException, std::exception) + sal_Bool SAL_CALL GridColumn::getResizeable() { ::comphelper::ComponentGuard aGuard( *this, rBHelper ); return m_bResizeable; } - void SAL_CALL GridColumn::setResizeable(sal_Bool value) throw (css::uno::RuntimeException, std::exception) + void SAL_CALL GridColumn::setResizeable(sal_Bool value) { impl_set( m_bResizeable, bool(value), "Resizeable" ); } - ::sal_Int32 SAL_CALL GridColumn::getFlexibility() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL GridColumn::getFlexibility() { ::comphelper::ComponentGuard aGuard( *this, rBHelper ); return m_nFlexibility; } - void SAL_CALL GridColumn::setFlexibility( ::sal_Int32 i_value ) throw (IllegalArgumentException, RuntimeException, std::exception) + void SAL_CALL GridColumn::setFlexibility( ::sal_Int32 i_value ) { if ( i_value < 0 ) throw IllegalArgumentException( OUString(), *this, 1 ); @@ -200,26 +200,26 @@ namespace toolkit } - HorizontalAlignment SAL_CALL GridColumn::getHorizontalAlign() throw (css::uno::RuntimeException, std::exception) + HorizontalAlignment SAL_CALL GridColumn::getHorizontalAlign() { ::comphelper::ComponentGuard aGuard( *this, rBHelper ); return m_eHorizontalAlign; } - void SAL_CALL GridColumn::setHorizontalAlign(HorizontalAlignment align) throw (css::uno::RuntimeException, std::exception) + void SAL_CALL GridColumn::setHorizontalAlign(HorizontalAlignment align) { impl_set( m_eHorizontalAlign, align, "HorizontalAlign" ); } - void SAL_CALL GridColumn::addGridColumnListener( const Reference< XGridColumnListener >& xListener ) throw (RuntimeException, std::exception) + void SAL_CALL GridColumn::addGridColumnListener( const Reference< XGridColumnListener >& xListener ) { rBHelper.addListener( cppu::UnoType<XGridColumnListener>::get(), xListener ); } - void SAL_CALL GridColumn::removeGridColumnListener( const Reference< XGridColumnListener >& xListener ) throw (RuntimeException, std::exception) + void SAL_CALL GridColumn::removeGridColumnListener( const Reference< XGridColumnListener >& xListener ) { rBHelper.removeListener( cppu::UnoType<XGridColumnListener>::get(), xListener ); } @@ -234,7 +234,7 @@ namespace toolkit } - ::sal_Int32 SAL_CALL GridColumn::getIndex() throw (RuntimeException, std::exception) + ::sal_Int32 SAL_CALL GridColumn::getIndex() { ::comphelper::ComponentGuard aGuard( *this, rBHelper ); return m_nIndex; @@ -248,30 +248,30 @@ namespace toolkit } - ::sal_Int32 SAL_CALL GridColumn::getDataColumnIndex() throw(RuntimeException, std::exception) + ::sal_Int32 SAL_CALL GridColumn::getDataColumnIndex() { ::comphelper::ComponentGuard aGuard( *this, rBHelper ); return m_nDataColumnIndex; } - void SAL_CALL GridColumn::setDataColumnIndex( ::sal_Int32 i_dataColumnIndex ) throw(RuntimeException, std::exception) + void SAL_CALL GridColumn::setDataColumnIndex( ::sal_Int32 i_dataColumnIndex ) { impl_set( m_nDataColumnIndex, i_dataColumnIndex, "DataColumnIndex" ); } - OUString SAL_CALL GridColumn::getImplementationName( ) throw (RuntimeException, std::exception) + OUString SAL_CALL GridColumn::getImplementationName( ) { return OUString( "org.openoffice.comp.toolkit.GridColumn" ); } - sal_Bool SAL_CALL GridColumn::supportsService( const OUString& i_serviceName ) throw (RuntimeException, std::exception) + sal_Bool SAL_CALL GridColumn::supportsService( const OUString& i_serviceName ) { return cppu::supportsService(this, i_serviceName); } - css::uno::Sequence< OUString > SAL_CALL GridColumn::getSupportedServiceNames( ) throw (RuntimeException, std::exception) + css::uno::Sequence< OUString > SAL_CALL GridColumn::getSupportedServiceNames( ) { const OUString aServiceName("com.sun.star.awt.grid.GridColumn"); const Sequence< OUString > aSeq( &aServiceName, 1 ); @@ -279,13 +279,13 @@ namespace toolkit } - Reference< XCloneable > SAL_CALL GridColumn::createClone( ) throw (RuntimeException, std::exception) + Reference< XCloneable > SAL_CALL GridColumn::createClone( ) { return new GridColumn( *this ); } - sal_Int64 SAL_CALL GridColumn::getSomething( const Sequence< sal_Int8 >& i_identifier ) throw(RuntimeException, std::exception) + sal_Int64 SAL_CALL GridColumn::getSomething( const Sequence< sal_Int8 >& i_identifier ) { if ( ( i_identifier.getLength() == 16 ) && ( i_identifier == getUnoTunnelId() ) ) return ::sal::static_int_cast< sal_Int64 >( reinterpret_cast< sal_IntPtr >( this ) ); |