summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-12-12 11:07:24 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-12-12 14:35:24 +0100
commit31fffe5538fd8011afa0076fdca39379c28fcff5 (patch)
tree1254cba1665cac704d93be54ae985e7d4b19a270 /oox
parent64bf055db690a4475cf49dc03800619674b891c2 (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/inc/drawingml/customshapeproperties.hxx1
-rw-r--r--oox/inc/drawingml/table/tablecell.hxx1
-rw-r--r--oox/inc/drawingml/table/tablerow.hxx1
-rw-r--r--oox/inc/drawingml/table/tablestyle.hxx1
-rw-r--r--oox/inc/drawingml/textbody.hxx1
-rw-r--r--oox/source/drawingml/customshapeproperties.cxx3
-rw-r--r--oox/source/drawingml/table/tablecell.cxx3
-rw-r--r--oox/source/drawingml/table/tablerow.cxx3
-rw-r--r--oox/source/drawingml/table/tablestyle.cxx4
-rw-r--r--oox/source/drawingml/textbody.cxx4
10 files changed, 0 insertions, 22 deletions
diff --git a/oox/inc/drawingml/customshapeproperties.hxx b/oox/inc/drawingml/customshapeproperties.hxx
index 1dc0270614e0..3caf8e150824 100644
--- a/oox/inc/drawingml/customshapeproperties.hxx
+++ b/oox/inc/drawingml/customshapeproperties.hxx
@@ -96,7 +96,6 @@ class CustomShapeProperties final
{
public:
CustomShapeProperties();
- ~CustomShapeProperties();
void pushToPropSet( const css::uno::Reference < css::beans::XPropertySet > & xPropSet,
const css::uno::Reference < css::drawing::XShape > & xShape,
diff --git a/oox/inc/drawingml/table/tablecell.hxx b/oox/inc/drawingml/table/tablecell.hxx
index 8955f7a47889..9c1bda2097d4 100644
--- a/oox/inc/drawingml/table/tablecell.hxx
+++ b/oox/inc/drawingml/table/tablecell.hxx
@@ -45,7 +45,6 @@ class TableCell
public:
TableCell();
- ~TableCell();
sal_Int32 getRowSpan() const { return mnRowSpan; };
void setRowSpan( sal_Int32 nRowSpan ){ mnRowSpan = nRowSpan; };
diff --git a/oox/inc/drawingml/table/tablerow.hxx b/oox/inc/drawingml/table/tablerow.hxx
index 29bc2d1457c5..1d3a1e2d531b 100644
--- a/oox/inc/drawingml/table/tablerow.hxx
+++ b/oox/inc/drawingml/table/tablerow.hxx
@@ -30,7 +30,6 @@ class TableRow
public:
TableRow();
- ~TableRow();
void setHeight( sal_Int32 nHeight ){ mnHeight = nHeight; };
sal_Int32 getHeight() const { return mnHeight; };
diff --git a/oox/inc/drawingml/table/tablestyle.hxx b/oox/inc/drawingml/table/tablestyle.hxx
index a0d1044a0e19..79c867ea4d6d 100644
--- a/oox/inc/drawingml/table/tablestyle.hxx
+++ b/oox/inc/drawingml/table/tablestyle.hxx
@@ -31,7 +31,6 @@ class TableStyle
public:
TableStyle();
- ~TableStyle();
OUString& getStyleId(){ return maStyleId; }
OUString& getStyleName() { return maStyleName; }
diff --git a/oox/inc/drawingml/textbody.hxx b/oox/inc/drawingml/textbody.hxx
index 38996abe03ea..b3edd7392a2c 100644
--- a/oox/inc/drawingml/textbody.hxx
+++ b/oox/inc/drawingml/textbody.hxx
@@ -41,7 +41,6 @@ class TextBody
public:
TextBody();
TextBody( const TextBodyPtr& pBody );
- ~TextBody();
const TextParagraphVector& getParagraphs() const { return maParagraphs; }
TextParagraph& addParagraph();
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 );