summaryrefslogtreecommitdiff
path: root/oox/source/ppt/timenodelistcontext.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-04-30 08:20:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-05-02 17:02:28 +0200
commit10d29c390dd58ed629dd27fe5ed35fae28eceec3 (patch)
tree7476cbb90fff182c5bec0a5a1ef9c41a3ad29f19 /oox/source/ppt/timenodelistcontext.cxx
parenta9243e626193ab4efe3a618413886773336a38e6 (diff)
throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewrite
Change-Id: I076f16d0536b534abf0ced4d76051eadb4c0e033 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114949 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'oox/source/ppt/timenodelistcontext.cxx')
-rw-r--r--oox/source/ppt/timenodelistcontext.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/oox/source/ppt/timenodelistcontext.cxx b/oox/source/ppt/timenodelistcontext.cxx
index 93525ae4879a..13d9a1d090b9 100644
--- a/oox/source/ppt/timenodelistcontext.cxx
+++ b/oox/source/ppt/timenodelistcontext.cxx
@@ -223,7 +223,7 @@ namespace oox::ppt {
}
- virtual ~SetTimeNodeContext() throw () override
+ virtual ~SetTimeNodeContext() noexcept override
{
if(maTo.hasValue())
{
@@ -442,7 +442,7 @@ namespace oox::ppt {
public:
AnimColorContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
const Reference< XFastAttributeList >& xAttribs,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: TimeNodeContext( rParent, aElement, pNode )
, mnColorSpace( xAttribs->getOptionalValueToken( XML_clrSpc, 0 ) )
, mnDir( xAttribs->getOptionalValueToken( XML_dir, 0 ) )
@@ -533,7 +533,7 @@ namespace oox::ppt {
public:
AnimContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
const Reference< XFastAttributeList >& xAttribs,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: TimeNodeContext( rParent, aElement, pNode )
{
NodePropertyMap & aProps( pNode->getNodeProperties() );
@@ -565,7 +565,7 @@ namespace oox::ppt {
mnValueType = xAttribs->getOptionalValueToken( XML_valueType, 0 );
}
- virtual ~AnimContext() throw () override
+ virtual ~AnimContext() noexcept override
{
if (!msFrom.isEmpty())
{
@@ -652,7 +652,7 @@ namespace oox::ppt {
public:
AnimScaleContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
const Reference< XFastAttributeList >& xAttribs,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: TimeNodeContext( rParent, aElement, pNode )
, mbZoomContents( false )
{
@@ -730,7 +730,7 @@ namespace oox::ppt {
public:
AnimRotContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
const Reference< XFastAttributeList >& xAttribs,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: TimeNodeContext( rParent, aElement, pNode )
{
AttributeList attribs( xAttribs );
@@ -777,7 +777,7 @@ namespace oox::ppt {
public:
AnimMotionContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
const Reference< XFastAttributeList >& xAttribs,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: TimeNodeContext( rParent, aElement, pNode )
{
pNode->getNodeProperties()[ NP_TRANSFORMTYPE ]
@@ -872,7 +872,7 @@ namespace oox::ppt {
public:
AnimEffectContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
const Reference< XFastAttributeList >& xAttribs,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: TimeNodeContext( rParent, aElement, pNode )
{
sal_Int32 nDir = xAttribs->getOptionalValueToken( XML_transition, 0 );
@@ -961,26 +961,26 @@ namespace oox::ppt {
}
TimeNodeContext::TimeNodeContext( FragmentHandler2 const & rParent, sal_Int32 aElement,
- const TimeNodePtr & pNode ) throw()
+ const TimeNodePtr & pNode ) noexcept
: FragmentHandler2( rParent )
, mnElement( aElement )
, mpNode( pNode )
{
}
- TimeNodeContext::~TimeNodeContext( ) throw()
+ TimeNodeContext::~TimeNodeContext( ) noexcept
{
}
TimeNodeListContext::TimeNodeListContext( FragmentHandler2 const & rParent, TimeNodePtrList & aList )
- throw()
+ noexcept
: FragmentHandler2( rParent )
, maList( aList )
{
}
- TimeNodeListContext::~TimeNodeListContext( ) throw()
+ TimeNodeListContext::~TimeNodeListContext( ) noexcept
{
}