diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-09-28 10:25:44 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-09-28 10:18:44 +0000 |
commit | 0b136fccf87b7341433e5a2aed8ec6b500940205 (patch) | |
tree | d6b33fd4ca2da7321493e4701540ce2196a0f0e4 /oox | |
parent | 24d366e5357b4b7cac71c26fe153bacad6ace4a3 (diff) |
oox: use '= default' to define a trivial destructor
Change-Id: I67f368c84dee85102c63bb4e3f811454a03c9560
Reviewed-on: https://gerrit.libreoffice.org/29348
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/shape/LockedCanvasContext.cxx | 4 | ||||
-rw-r--r-- | oox/source/shape/WpgContext.cxx | 4 | ||||
-rw-r--r-- | oox/source/shape/WpsContext.cxx | 4 |
3 files changed, 3 insertions, 9 deletions
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::Reference<drawing::X mpShape->setWps(true); } -WpsContext::~WpsContext() -{ -} +WpsContext::~WpsContext() = default; oox::core::ContextHandlerRef WpsContext::onCreateContext(sal_Int32 nElementToken, const oox::AttributeList& rAttribs) { |