From 31fffe5538fd8011afa0076fdca39379c28fcff5 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 12 Dec 2019 11:07:24 +0100 Subject: Remove some redundant user-provided dtors ...which silences various -Wdeprecated-copy-dtor warnings from Clang 10 trunk about copy functions being implicitly defined as non-deleted even though the class has a user-declared dtor Change-Id: I3409d403c3c709de4ad94eccbc2d7869e41847cc Reviewed-on: https://gerrit.libreoffice.org/85032 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- oox/source/drawingml/customshapeproperties.cxx | 3 --- oox/source/drawingml/table/tablecell.cxx | 3 --- oox/source/drawingml/table/tablerow.cxx | 3 --- oox/source/drawingml/table/tablestyle.cxx | 4 ---- oox/source/drawingml/textbody.cxx | 4 ---- 5 files changed, 17 deletions(-) (limited to 'oox/source') diff --git a/oox/source/drawingml/customshapeproperties.cxx b/oox/source/drawingml/customshapeproperties.cxx index 2f4848088cc4..f9e19314414e 100644 --- a/oox/source/drawingml/customshapeproperties.cxx +++ b/oox/source/drawingml/customshapeproperties.cxx @@ -50,9 +50,6 @@ CustomShapeProperties::CustomShapeProperties() , mnArcNum ( 0 ) { } -CustomShapeProperties::~CustomShapeProperties() -{ -} uno::Sequence< sal_Int8 > const & CustomShapeProperties::getShapePresetTypeName() const { diff --git a/oox/source/drawingml/table/tablecell.cxx b/oox/source/drawingml/table/tablecell.cxx index 24e1a5f89c1c..e270d5155d20 100644 --- a/oox/source/drawingml/table/tablecell.cxx +++ b/oox/source/drawingml/table/tablecell.cxx @@ -65,9 +65,6 @@ TableCell::TableCell() , mnHorzOverflowToken( XML_clip ) { } -TableCell::~TableCell() -{ -} static void applyLineAttributes( const ::oox::core::XmlFilterBase& rFilterBase, Reference< XPropertySet > const & rxPropSet, oox::drawingml::LineProperties const & rLineProperties, diff --git a/oox/source/drawingml/table/tablerow.cxx b/oox/source/drawingml/table/tablerow.cxx index ecf397de9d73..b87a72033d9e 100644 --- a/oox/source/drawingml/table/tablerow.cxx +++ b/oox/source/drawingml/table/tablerow.cxx @@ -37,9 +37,6 @@ TableRow::TableRow() : mnHeight( 0 ) { } -TableRow::~TableRow() -{ -} } } } diff --git a/oox/source/drawingml/table/tablestyle.cxx b/oox/source/drawingml/table/tablestyle.cxx index db0f071b36b1..04d1173f7fe1 100644 --- a/oox/source/drawingml/table/tablestyle.cxx +++ b/oox/source/drawingml/table/tablestyle.cxx @@ -25,10 +25,6 @@ TableStyle::TableStyle() { } -TableStyle::~TableStyle() -{ -} - } } } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/oox/source/drawingml/textbody.cxx b/oox/source/drawingml/textbody.cxx index 80ebb4d2287d..ab1659d8ada9 100644 --- a/oox/source/drawingml/textbody.cxx +++ b/oox/source/drawingml/textbody.cxx @@ -43,10 +43,6 @@ TextBody::TextBody( const TextBodyPtr& pBody ) } } -TextBody::~TextBody() -{ -} - TextParagraph& TextBody::addParagraph() { std::shared_ptr< TextParagraph > xPara( new TextParagraph ); -- cgit