summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbacell.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbacell.cxx')
-rw-r--r--sw/source/ui/vba/vbacell.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/ui/vba/vbacell.cxx b/sw/source/ui/vba/vbacell.cxx
index 1b267c8f107b..17b518eb8b54 100644
--- a/sw/source/ui/vba/vbacell.cxx
+++ b/sw/source/ui/vba/vbacell.cxx
@@ -30,7 +30,7 @@
using namespace ::ooo::vba;
using namespace ::com::sun::star;
-SwVbaCell::SwVbaCell( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< text::XTextTable >& xTextTable, sal_Int32 nColumn, sal_Int32 nRow ) throw ( uno::RuntimeException ) :
+SwVbaCell::SwVbaCell( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< text::XTextTable >& xTextTable, sal_Int32 nColumn, sal_Int32 nRow ) :
SwVbaCell_BASE( rParent, rContext ), mxTextTable( xTextTable ), mnColumn( nColumn ), mnRow( nRow )
{
}
@@ -39,49 +39,49 @@ SwVbaCell::~SwVbaCell()
{
}
-::sal_Int32 SAL_CALL SwVbaCell::getWidth() throw (css::uno::RuntimeException, std::exception)
+::sal_Int32 SAL_CALL SwVbaCell::getWidth()
{
SwVbaTableHelper aTableHelper( mxTextTable );
return aTableHelper.GetColWidth( mnColumn, mnRow, true );
}
-void SAL_CALL SwVbaCell::setWidth( ::sal_Int32 _width ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL SwVbaCell::setWidth( ::sal_Int32 _width )
{
SwVbaTableHelper aTableHelper( mxTextTable );
aTableHelper.SetColWidth( _width, mnColumn, mnRow, true );
}
-uno::Any SAL_CALL SwVbaCell::getHeight() throw (css::uno::RuntimeException, std::exception)
+uno::Any SAL_CALL SwVbaCell::getHeight()
{
uno::Reference< word::XRow > xRow( new SwVbaRow( getParent(), mxContext, mxTextTable, mnRow ) );
return xRow->getHeight();
}
-void SAL_CALL SwVbaCell::setHeight( const uno::Any& _height ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL SwVbaCell::setHeight( const uno::Any& _height )
{
uno::Reference< word::XRow > xRow( new SwVbaRow( getParent(), mxContext, mxTextTable, mnRow ) );
xRow->setHeight( _height );
}
-::sal_Int32 SAL_CALL SwVbaCell::getHeightRule() throw (css::uno::RuntimeException, std::exception)
+::sal_Int32 SAL_CALL SwVbaCell::getHeightRule()
{
uno::Reference< word::XRow > xRow( new SwVbaRow( getParent(), mxContext, mxTextTable, mnRow ) );
return xRow->getHeightRule();
}
-void SAL_CALL SwVbaCell::setHeightRule( ::sal_Int32 _heightrule ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL SwVbaCell::setHeightRule( ::sal_Int32 _heightrule )
{
uno::Reference< word::XRow > xRow( new SwVbaRow( getParent(), mxContext, mxTextTable, mnRow ) );
xRow->setHeightRule( _heightrule );
}
-void SAL_CALL SwVbaCell::SetWidth( float width, sal_Int32 /*rulestyle*/ ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL SwVbaCell::SetWidth( float width, sal_Int32 /*rulestyle*/ )
{
// FIXME: handle the argument: rulestyle
setWidth( static_cast<sal_Int32>(width) );
}
-void SAL_CALL SwVbaCell::SetHeight( float height, sal_Int32 heightrule ) throw (css::uno::RuntimeException, std::exception)
+void SAL_CALL SwVbaCell::SetHeight( float height, sal_Int32 heightrule )
{
// FIXME: handle the argument: heightrule
setHeightRule( heightrule );