diff options
Diffstat (limited to 'sw/source/ui/vba/vbareplacement.cxx')
-rw-r--r-- | sw/source/ui/vba/vbareplacement.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/vba/vbareplacement.cxx b/sw/source/ui/vba/vbareplacement.cxx index 74e0c6a0d1b0..c0de490dc483 100644 --- a/sw/source/ui/vba/vbareplacement.cxx +++ b/sw/source/ui/vba/vbareplacement.cxx @@ -23,7 +23,7 @@ using namespace ::ooo::vba; using namespace ::com::sun::star; -SwVbaReplacement::SwVbaReplacement( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< util::XPropertyReplace >& xPropertyReplace ) throw ( uno::RuntimeException ) : +SwVbaReplacement::SwVbaReplacement( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< util::XPropertyReplace >& xPropertyReplace ) : SwVbaReplacement_BASE( rParent, rContext ), mxPropertyReplace( xPropertyReplace ) { } @@ -32,17 +32,17 @@ SwVbaReplacement::~SwVbaReplacement() { } -OUString SAL_CALL SwVbaReplacement::getText() throw (uno::RuntimeException, std::exception) +OUString SAL_CALL SwVbaReplacement::getText() { return mxPropertyReplace->getReplaceString(); } -void SAL_CALL SwVbaReplacement::setText( const OUString& _text ) throw (uno::RuntimeException, std::exception) +void SAL_CALL SwVbaReplacement::setText( const OUString& _text ) { mxPropertyReplace->setReplaceString( _text ); } -void SAL_CALL SwVbaReplacement::ClearFormatting( ) throw (uno::RuntimeException, std::exception) +void SAL_CALL SwVbaReplacement::ClearFormatting( ) { uno::Sequence< beans::PropertyValue > aPropValues; mxPropertyReplace->setReplaceAttributes( aPropValues ); |