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(-)
New commits: commit 0b136fccf87b7341433e5a2aed8ec6b500940205 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Wed Sep 28 10:25:44 2016 +0200 oox: use '= default' to define a trivial destructor Change-Id: I67f368c84dee85102c63bb4e3f811454a03c9560 Reviewed-on: https://gerrit.libreoffice.org/29348 Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk> Tested-by: Jenkins <c...@libreoffice.org> diff --git a/oox/source/shape/LockedCanvasContext.cxx b/oox/source/shape/LockedCanvasContext.cxx index e6f128f..a36cb60 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 b5fe45b..2ae26fe 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 eb67f30..5fbea5f 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) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits