summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbawindow.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbawindow.cxx')
-rw-r--r--sw/source/ui/vba/vbawindow.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/sw/source/ui/vba/vbawindow.cxx b/sw/source/ui/vba/vbawindow.cxx
index 270abb71eb19..5f5749d0f5c4 100644
--- a/sw/source/ui/vba/vbawindow.cxx
+++ b/sw/source/ui/vba/vbawindow.cxx
@@ -37,13 +37,13 @@ SwVbaWindow::SwVbaWindow(
const uno::Reference< XHelperInterface >& xParent,
const uno::Reference< uno::XComponentContext >& xContext,
const uno::Reference< frame::XModel >& xModel,
- const uno::Reference< frame::XController >& xController ) throw (uno::RuntimeException) :
+ const uno::Reference< frame::XController >& xController ) :
WindowImpl_BASE( xParent, xContext, xModel, xController )
{
}
void
-SwVbaWindow::Activate() throw (css::uno::RuntimeException, std::exception)
+SwVbaWindow::Activate()
{
rtl::Reference<SwVbaDocument> document( new SwVbaDocument(uno::Reference< XHelperInterface >( Application(), uno::UNO_QUERY_THROW ), mxContext, m_xModel) );
@@ -51,7 +51,7 @@ SwVbaWindow::Activate() throw (css::uno::RuntimeException, std::exception)
}
void
-SwVbaWindow::Close( const uno::Any& SaveChanges, const uno::Any& RouteDocument ) throw (uno::RuntimeException, std::exception)
+SwVbaWindow::Close( const uno::Any& SaveChanges, const uno::Any& RouteDocument )
{
// FIXME: it is incorrect when there are more than 1 windows
rtl::Reference<SwVbaDocument> document( new SwVbaDocument(uno::Reference< XHelperInterface >( Application(), uno::UNO_QUERY_THROW ), mxContext, m_xModel) );
@@ -60,12 +60,12 @@ SwVbaWindow::Close( const uno::Any& SaveChanges, const uno::Any& RouteDocument )
}
uno::Any SAL_CALL
-SwVbaWindow::getView() throw (uno::RuntimeException, std::exception)
+SwVbaWindow::getView()
{
return uno::makeAny( uno::Reference< word::XView >( new SwVbaView( this, mxContext, m_xModel ) ) );
}
-void SAL_CALL SwVbaWindow::setView( const uno::Any& _view ) throw (uno::RuntimeException, std::exception)
+void SAL_CALL SwVbaWindow::setView( const uno::Any& _view )
{
sal_Int32 nType = 0;
if( _view >>= nType )
@@ -76,7 +76,7 @@ void SAL_CALL SwVbaWindow::setView( const uno::Any& _view ) throw (uno::RuntimeE
}
uno::Any SAL_CALL
-SwVbaWindow::getWindowState() throw (uno::RuntimeException, std::exception)
+SwVbaWindow::getWindowState()
{
sal_Int32 nwindowState = word::WdWindowState::wdWindowStateNormal;
SwView* pView = word::getView( m_xModel );
@@ -93,7 +93,7 @@ SwVbaWindow::getWindowState() throw (uno::RuntimeException, std::exception)
}
void SAL_CALL
-SwVbaWindow::setWindowState( const uno::Any& _windowstate ) throw (uno::RuntimeException, std::exception)
+SwVbaWindow::setWindowState( const uno::Any& _windowstate )
{
sal_Int32 nwindowState = word::WdWindowState::wdWindowStateMaximize;
_windowstate >>= nwindowState;
@@ -114,7 +114,7 @@ SwVbaWindow::setWindowState( const uno::Any& _windowstate ) throw (uno::RuntimeE
}
uno::Any SAL_CALL
-SwVbaWindow::Panes( const uno::Any& aIndex ) throw (uno::RuntimeException, std::exception)
+SwVbaWindow::Panes( const uno::Any& aIndex )
{
uno::Reference< XCollection > xPanes( new SwVbaPanes( this, mxContext, m_xModel ) );
if( aIndex.getValueTypeClass() == uno::TypeClass_VOID )
@@ -124,7 +124,7 @@ SwVbaWindow::Panes( const uno::Any& aIndex ) throw (uno::RuntimeException, std::
}
uno::Any SAL_CALL
-SwVbaWindow::ActivePane() throw (uno::RuntimeException, std::exception)
+SwVbaWindow::ActivePane()
{
return uno::makeAny( uno::Reference< word::XPane >( new SwVbaPane( this, mxContext, m_xModel ) ) );
}