diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /sc/source/ui/vba/vbastyle.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'sc/source/ui/vba/vbastyle.cxx')
-rw-r--r-- | sc/source/ui/vba/vbastyle.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/vba/vbastyle.cxx b/sc/source/ui/vba/vbastyle.cxx index dd632a197f12..b036b7413254 100644 --- a/sc/source/ui/vba/vbastyle.cxx +++ b/sc/source/ui/vba/vbastyle.cxx @@ -86,25 +86,25 @@ ScVbaStyle::ScVbaStyle( const uno::Reference< XHelperInterface >& xParent, const ::sal_Bool SAL_CALL -ScVbaStyle::BuiltIn() throw (script::BasicErrorException, uno::RuntimeException) +ScVbaStyle::BuiltIn() throw (script::BasicErrorException, uno::RuntimeException, std::exception) { return !mxStyle->isUserDefined(); } void SAL_CALL -ScVbaStyle::setName( const OUString& Name ) throw (script::BasicErrorException, uno::RuntimeException) +ScVbaStyle::setName( const OUString& Name ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) { mxStyle->setName(Name); } OUString SAL_CALL -ScVbaStyle::getName() throw (script::BasicErrorException, uno::RuntimeException) +ScVbaStyle::getName() throw (script::BasicErrorException, uno::RuntimeException, std::exception) { return mxStyle->getName(); } void SAL_CALL -ScVbaStyle::setNameLocal( const OUString& NameLocal ) throw (script::BasicErrorException, uno::RuntimeException) +ScVbaStyle::setNameLocal( const OUString& NameLocal ) throw (script::BasicErrorException, uno::RuntimeException, std::exception) { try { @@ -117,7 +117,7 @@ ScVbaStyle::setNameLocal( const OUString& NameLocal ) throw (script::BasicErrorE } OUString SAL_CALL -ScVbaStyle::getNameLocal() throw (script::BasicErrorException, uno::RuntimeException) +ScVbaStyle::getNameLocal() throw (script::BasicErrorException, uno::RuntimeException, std::exception) { OUString sName; try @@ -132,7 +132,7 @@ ScVbaStyle::getNameLocal() throw (script::BasicErrorException, uno::RuntimeExcep } void SAL_CALL -ScVbaStyle::Delete() throw (script::BasicErrorException, uno::RuntimeException) +ScVbaStyle::Delete() throw (script::BasicErrorException, uno::RuntimeException, std::exception) { try { |