summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbatable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbatable.cxx')
-rw-r--r--sw/source/ui/vba/vbatable.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sw/source/ui/vba/vbatable.cxx b/sw/source/ui/vba/vbatable.cxx
index 398422adcd5a..9bfd3c2c1758 100644
--- a/sw/source/ui/vba/vbatable.cxx
+++ b/sw/source/ui/vba/vbatable.cxx
@@ -40,13 +40,13 @@ SwVbaTable::SwVbaTable( const uno::Reference< ooo::vba::XHelperInterface >& rPa
}
uno::Reference< word::XRange > SAL_CALL
-SwVbaTable::Range( ) throw (script::BasicErrorException, uno::RuntimeException)
+SwVbaTable::Range( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception)
{
return new SwVbaRange( mxParent, mxContext, mxTextDocument, mxTextTable->getAnchor() );
}
void SAL_CALL
-SwVbaTable::Select( ) throw (script::BasicErrorException, uno::RuntimeException)
+SwVbaTable::Select( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception)
{
uno::Reference< frame::XModel > xModel( mxTextDocument, uno::UNO_QUERY_THROW );
uno::Reference< frame::XController > xController = xModel->getCurrentController();
@@ -64,7 +64,7 @@ SwVbaTable::Select( ) throw (script::BasicErrorException, uno::RuntimeException
}
void SAL_CALL
-SwVbaTable::Delete( ) throw (script::BasicErrorException, uno::RuntimeException)
+SwVbaTable::Delete( ) throw (script::BasicErrorException, uno::RuntimeException, std::exception)
{
uno::Reference< table::XTableRows > xRows( mxTextTable->getRows() );
xRows->removeByIndex( 0, xRows->getCount() );
@@ -79,14 +79,14 @@ SwVbaTable::ConvertToText( const uno::Any& /*Separator*/, const uno::Any& /*Nest
}
OUString SAL_CALL
-SwVbaTable::getName() throw (uno::RuntimeException)
+SwVbaTable::getName() throw (uno::RuntimeException, std::exception)
{
uno::Reference< container::XNamed > xNamed( mxTextTable, uno::UNO_QUERY_THROW );
return xNamed->getName();
}
uno::Any SAL_CALL
-SwVbaTable::Borders( const uno::Any& index ) throw (uno::RuntimeException)
+SwVbaTable::Borders( const uno::Any& index ) throw (uno::RuntimeException, std::exception)
{
uno::Reference< table::XCellRange > aCellRange( mxTextTable, uno::UNO_QUERY_THROW );
VbaPalette aPalette;
@@ -97,7 +97,7 @@ SwVbaTable::Borders( const uno::Any& index ) throw (uno::RuntimeException)
}
uno::Any SAL_CALL
-SwVbaTable::Rows( const uno::Any& index ) throw (uno::RuntimeException)
+SwVbaTable::Rows( const uno::Any& index ) throw (uno::RuntimeException, std::exception)
{
uno::Reference< table::XTableRows > xTableRows( mxTextTable->getRows(), uno::UNO_QUERY_THROW );
uno::Reference< XCollection > xCol( new SwVbaRows( this, mxContext, mxTextTable, xTableRows ) );
@@ -107,7 +107,7 @@ SwVbaTable::Rows( const uno::Any& index ) throw (uno::RuntimeException)
}
uno::Any SAL_CALL
-SwVbaTable::Columns( const uno::Any& index ) throw (uno::RuntimeException)
+SwVbaTable::Columns( const uno::Any& index ) throw (uno::RuntimeException, std::exception)
{
uno::Reference< table::XTableColumns > xTableColumns( mxTextTable->getColumns(), uno::UNO_QUERY_THROW );
uno::Reference< XCollection > xCol( new SwVbaColumns( this, mxContext, mxTextTable, xTableColumns ) );