summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbapane.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbapane.cxx')
-rw-r--r--sc/source/ui/vba/vbapane.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/vba/vbapane.cxx b/sc/source/ui/vba/vbapane.cxx
index 1b8e905e489a..5abb35c853be 100644
--- a/sc/source/ui/vba/vbapane.cxx
+++ b/sc/source/ui/vba/vbapane.cxx
@@ -30,7 +30,7 @@ ScVbaPane::ScVbaPane(
const css::uno::Reference< ov::XHelperInterface >& xParent,
const uno::Reference< uno::XComponentContext >& xContext,
const uno::Reference< frame::XModel >& rModel,
- const uno::Reference< sheet::XViewPane >& rViewPane ) throw (uno::RuntimeException) :
+ const uno::Reference< sheet::XViewPane >& rViewPane ) :
m_xModel(rModel, uno::UNO_SET_THROW),
m_xViewPane(rViewPane, uno::UNO_SET_THROW),
m_xParent(xParent),
@@ -39,13 +39,13 @@ ScVbaPane::ScVbaPane(
}
sal_Int32 SAL_CALL
-ScVbaPane::getScrollColumn() throw (uno::RuntimeException, std::exception)
+ScVbaPane::getScrollColumn()
{
return ( m_xViewPane->getFirstVisibleColumn() + 1 );
}
void SAL_CALL
-ScVbaPane::setScrollColumn( sal_Int32 _scrollcolumn ) throw (uno::RuntimeException, std::exception)
+ScVbaPane::setScrollColumn( sal_Int32 _scrollcolumn )
{
if( _scrollcolumn < 1 )
{
@@ -55,13 +55,13 @@ ScVbaPane::setScrollColumn( sal_Int32 _scrollcolumn ) throw (uno::RuntimeExcepti
}
sal_Int32 SAL_CALL
-ScVbaPane::getScrollRow() throw (uno::RuntimeException, std::exception)
+ScVbaPane::getScrollRow()
{
return ( m_xViewPane->getFirstVisibleRow() + 1 );
}
void SAL_CALL
-ScVbaPane::setScrollRow( sal_Int32 _scrollrow ) throw (uno::RuntimeException, std::exception)
+ScVbaPane::setScrollRow( sal_Int32 _scrollrow )
{
if( _scrollrow < 1 )
{
@@ -71,7 +71,7 @@ ScVbaPane::setScrollRow( sal_Int32 _scrollrow ) throw (uno::RuntimeException, st
}
uno::Reference< excel::XRange > SAL_CALL
-ScVbaPane::getVisibleRange() throw (uno::RuntimeException, std::exception)
+ScVbaPane::getVisibleRange()
{
// TODO: Excel includes partly visible rows/columns, Calc does not
table::CellRangeAddress aRangeAddr = m_xViewPane->getVisibleRange();
@@ -85,7 +85,7 @@ ScVbaPane::getVisibleRange() throw (uno::RuntimeException, std::exception)
//Method
void SAL_CALL
-ScVbaPane::SmallScroll( const uno::Any& Down, const uno::Any& Up, const uno::Any& ToRight, const uno::Any& ToLeft ) throw (uno::RuntimeException, std::exception)
+ScVbaPane::SmallScroll( const uno::Any& Down, const uno::Any& Up, const uno::Any& ToRight, const uno::Any& ToLeft )
{
OUString messageBuffer;
sal_Int32 downRows = 0;
@@ -138,7 +138,7 @@ ScVbaPane::SmallScroll( const uno::Any& Down, const uno::Any& Up, const uno::Any
}
void SAL_CALL
-ScVbaPane::LargeScroll( const uno::Any& Down, const uno::Any& Up, const uno::Any& ToRight, const uno::Any& ToLeft ) throw (uno::RuntimeException, std::exception)
+ScVbaPane::LargeScroll( const uno::Any& Down, const uno::Any& Up, const uno::Any& ToRight, const uno::Any& ToLeft )
{
OUString messageBuffer;
table::CellRangeAddress visibleRange = m_xViewPane->getVisibleRange();