summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbalisttemplate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbalisttemplate.cxx')
-rw-r--r--sw/source/ui/vba/vbalisttemplate.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/vba/vbalisttemplate.cxx b/sw/source/ui/vba/vbalisttemplate.cxx
index 3052745647f5..a4e646d26f78 100644
--- a/sw/source/ui/vba/vbalisttemplate.cxx
+++ b/sw/source/ui/vba/vbalisttemplate.cxx
@@ -25,7 +25,7 @@
using namespace ::ooo::vba;
using namespace ::com::sun::star;
-SwVbaListTemplate::SwVbaListTemplate( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< text::XTextDocument >& xTextDoc, sal_Int32 nGalleryType, sal_Int32 nTemplateType ) throw ( uno::RuntimeException ) : SwVbaListTemplate_BASE( rParent, rContext )
+SwVbaListTemplate::SwVbaListTemplate( const uno::Reference< ooo::vba::XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Reference< text::XTextDocument >& xTextDoc, sal_Int32 nGalleryType, sal_Int32 nTemplateType ) : SwVbaListTemplate_BASE( rParent, rContext )
{
pListHelper.reset( new SwVbaListHelper( xTextDoc, nGalleryType, nTemplateType ) );
}
@@ -35,7 +35,7 @@ SwVbaListTemplate::~SwVbaListTemplate()
}
uno::Any SAL_CALL
-SwVbaListTemplate::ListLevels( const uno::Any& index ) throw (uno::RuntimeException, std::exception)
+SwVbaListTemplate::ListLevels( const uno::Any& index )
{
uno::Reference< XCollection > xCol( new SwVbaListLevels( mxParent, mxContext, pListHelper ) );
if ( index.hasValue() )
@@ -43,7 +43,7 @@ SwVbaListTemplate::ListLevels( const uno::Any& index ) throw (uno::RuntimeExcept
return uno::makeAny( xCol );
}
-void SwVbaListTemplate::applyListTemplate( uno::Reference< beans::XPropertySet >& xProps ) throw (uno::RuntimeException)
+void SwVbaListTemplate::applyListTemplate( uno::Reference< beans::XPropertySet >& xProps )
{
uno::Reference< container::XIndexReplace > xNumberingRules = pListHelper->getNumberingRules();
xProps->setPropertyValue("NumberingRules", uno::makeAny( xNumberingRules ) );