From 0b136fccf87b7341433e5a2aed8ec6b500940205 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 28 Sep 2016 10:25:44 +0200 Subject: oox: use '= default' to define a trivial destructor Change-Id: I67f368c84dee85102c63bb4e3f811454a03c9560 Reviewed-on: https://gerrit.libreoffice.org/29348 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- oox/source/shape/LockedCanvasContext.cxx | 4 +--- oox/source/shape/WpgContext.cxx | 4 +--- oox/source/shape/WpsContext.cxx | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) (limited to 'oox') diff --git a/oox/source/shape/LockedCanvasContext.cxx b/oox/source/shape/LockedCanvasContext.cxx index e6f128fd8f3b..a36cb601b492 100644 --- a/oox/source/shape/LockedCanvasContext.cxx +++ b/oox/source/shape/LockedCanvasContext.cxx @@ -25,9 +25,7 @@ LockedCanvasContext::LockedCanvasContext(ContextHandler2Helper& rParent) { } -LockedCanvasContext::~LockedCanvasContext() -{ -} +LockedCanvasContext::~LockedCanvasContext() = default; ::oox::core::ContextHandlerRef LockedCanvasContext::onCreateContext(sal_Int32 aElementToken, const ::oox::AttributeList& /*rAttribs*/) { diff --git a/oox/source/shape/WpgContext.cxx b/oox/source/shape/WpgContext.cxx index b5fe45b53ed0..2ae26fedb84c 100644 --- a/oox/source/shape/WpgContext.cxx +++ b/oox/source/shape/WpgContext.cxx @@ -28,9 +28,7 @@ WpgContext::WpgContext(ContextHandler2Helper& rParent) mpShape->setWps(true); } -WpgContext::~WpgContext() -{ -} +WpgContext::~WpgContext() = default; oox::core::ContextHandlerRef WpgContext::onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& /*rAttribs*/) { diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx index eb67f305e054..5fbea5fb225b 100644 --- a/oox/source/shape/WpsContext.cxx +++ b/oox/source/shape/WpsContext.cxx @@ -40,9 +40,7 @@ WpsContext::WpsContext(ContextHandler2Helper& rParent, uno::ReferencesetWps(true); } -WpsContext::~WpsContext() -{ -} +WpsContext::~WpsContext() = default; oox::core::ContextHandlerRef WpsContext::onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) { -- cgit