summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-26 13:50:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-27 06:51:11 +0000
commit4142e0a0c05c29a203799cc96630b17133ca2b40 (patch)
tree20374d18722e4f99b0e53e557398f697cfa601f5 /xmloff
parent32a461bdd6ffda4b59ff262e1fcbcbe8bf2be7a0 (diff)
loplugin: unnecessary destructor writerfilter..xmloff
Change-Id: I511822dc874101ed3b9850b015b746a86d26c3b5 Reviewed-on: https://gerrit.libreoffice.org/33578 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx6
-rw-r--r--xmloff/source/core/xmlerror.cxx6
-rw-r--r--xmloff/source/core/xmlimp.cxx7
-rw-r--r--xmloff/source/draw/animationexport.cxx5
-rw-r--r--xmloff/source/style/impastpl.hxx4
-rw-r--r--xmloff/source/style/xmlexppr.cxx5
-rw-r--r--xmloff/source/style/xmlnumfe.cxx5
-rw-r--r--xmloff/source/text/txtparaimphint.hxx1
-rw-r--r--xmloff/source/transform/EventOASISTContext.cxx5
9 files changed, 1 insertions, 43 deletions
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index fc47c6f5554c..954ba1c8c793 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -129,8 +129,6 @@ public:
SchXMLExportHelper_Impl( SvXMLExport& rExport,
SvXMLAutoStylePoolP& rASPool );
- ~SchXMLExportHelper_Impl();
-
SchXMLExportHelper_Impl(const SchXMLExportHelper_Impl&) = delete;
SchXMLExportHelper_Impl& operator=(const SchXMLExportHelper_Impl&) = delete;
@@ -1066,10 +1064,6 @@ SchXMLExportHelper_Impl::SchXMLExportHelper_Impl(
OUString( 'T' ));
}
-SchXMLExportHelper_Impl::~SchXMLExportHelper_Impl()
-{
-}
-
void SchXMLExportHelper_Impl::collectAutoStyles( Reference< chart::XChartDocument > const & rChartDoc )
{
parseDocument( rChartDoc, false );
diff --git a/xmloff/source/core/xmlerror.cxx b/xmloff/source/core/xmlerror.cxx
index 15adb7251613..cf5f9642aa0c 100644
--- a/xmloff/source/core/xmlerror.cxx
+++ b/xmloff/source/core/xmlerror.cxx
@@ -49,7 +49,6 @@ public:
sal_Int32 nColumn,
const OUString& rPublicId,
const OUString& rSystemId);
- ~ErrorRecord();
sal_Int32 nId; /// error ID
@@ -79,11 +78,6 @@ ErrorRecord::ErrorRecord( sal_Int32 nID, const Sequence<OUString>& rParams,
{
}
-ErrorRecord::~ErrorRecord()
-{
-}
-
-
XMLErrors::XMLErrors()
{
}
diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx
index f7eb33c34939..fed34b6efb7f 100644
--- a/xmloff/source/core/xmlimp.cxx
+++ b/xmloff/source/core/xmlimp.cxx
@@ -226,9 +226,6 @@ public:
}
}
- ~DocumentInfo()
- {}
-
sal_uInt16 getGeneratorVersion() const
{
return mnGeneratorVersion;
@@ -289,10 +286,6 @@ public:
if (!mxComponentContext.is()) throw uno::RuntimeException();
}
- ~SvXMLImport_Impl()
- {
- }
-
sal_uInt16 getGeneratorVersion( const SvXMLImport& rImport )
{
if ( !mpDocumentInfo.get() )
diff --git a/xmloff/source/draw/animationexport.cxx b/xmloff/source/draw/animationexport.cxx
index c8cba9f04ed8..4c8796169041 100644
--- a/xmloff/source/draw/animationexport.cxx
+++ b/xmloff/source/draw/animationexport.cxx
@@ -507,7 +507,6 @@ class AnimationsExporterImpl
{
public:
AnimationsExporterImpl( SvXMLExport& rExport, const Reference< XPropertySet >& xPageProps );
- ~AnimationsExporterImpl();
void prepareNode( const Reference< XAnimationNode >& xNode );
void exportNode( const Reference< XAnimationNode >& xNode );
@@ -554,10 +553,6 @@ AnimationsExporterImpl::AnimationsExporterImpl( SvXMLExport& rExport, const Refe
mxSdPropHdlFactory = new XMLSdPropHdlFactory( mrExport.GetModel(), mrExport );
}
-AnimationsExporterImpl::~AnimationsExporterImpl()
-{
-}
-
/** split a uri hierarchy into first segment and rest */
static bool splitPath(::rtl::OUString const & i_rPath,
diff --git a/xmloff/source/style/impastpl.hxx b/xmloff/source/style/impastpl.hxx
index 7cded325bbf6..38222aea6093 100644
--- a/xmloff/source/style/impastpl.hxx
+++ b/xmloff/source/style/impastpl.hxx
@@ -52,10 +52,6 @@ public:
XMLAutoStylePoolProperties( XMLAutoStyleFamily& rFamilyData, const ::std::vector< XMLPropertyState >& rProperties, OUString& rParentname );
- ~XMLAutoStylePoolProperties()
- {
- }
-
const OUString& GetName() const { return msName; }
const ::std::vector< XMLPropertyState >& GetProperties() const { return maProperties; }
sal_uInt32 GetPos() const { return mnPos; }
diff --git a/xmloff/source/style/xmlexppr.cxx b/xmloff/source/style/xmlexppr.cxx
index 549e86312dcd..32a45aa4303c 100644
--- a/xmloff/source/style/xmlexppr.cxx
+++ b/xmloff/source/style/xmlexppr.cxx
@@ -184,7 +184,6 @@ class FilterPropertiesInfo_Impl
public:
FilterPropertiesInfo_Impl();
- ~FilterPropertiesInfo_Impl();
void AddProperty(const OUString& rApiName, const sal_uInt32 nIndex);
const uno::Sequence<OUString>& GetApiNames();
@@ -204,10 +203,6 @@ FilterPropertiesInfo_Impl::FilterPropertiesInfo_Impl() :
aLastItr = aPropInfos.begin();
}
-FilterPropertiesInfo_Impl::~FilterPropertiesInfo_Impl()
-{
-}
-
void FilterPropertiesInfo_Impl::AddProperty(
const OUString& rApiName, const sal_uInt32 nIndex)
{
diff --git a/xmloff/source/style/xmlnumfe.cxx b/xmloff/source/style/xmlnumfe.cxx
index 9a3344f0f010..bb5db1bea964 100644
--- a/xmloff/source/style/xmlnumfe.cxx
+++ b/xmloff/source/style/xmlnumfe.cxx
@@ -97,7 +97,6 @@ class SvXMLNumUsedList_Impl
public:
SvXMLNumUsedList_Impl();
- ~SvXMLNumUsedList_Impl();
void SetUsed( sal_uInt32 nKey );
bool IsUsed( sal_uInt32 nKey ) const;
@@ -119,10 +118,6 @@ SvXMLNumUsedList_Impl::SvXMLNumUsedList_Impl() :
{
}
-SvXMLNumUsedList_Impl::~SvXMLNumUsedList_Impl()
-{
-}
-
void SvXMLNumUsedList_Impl::SetUsed( sal_uInt32 nKey )
{
if ( !IsWasUsed(nKey) )
diff --git a/xmloff/source/text/txtparaimphint.hxx b/xmloff/source/text/txtparaimphint.hxx
index 22301b014221..2f5f231b6c2c 100644
--- a/xmloff/source/text/txtparaimphint.hxx
+++ b/xmloff/source/text/txtparaimphint.hxx
@@ -235,6 +235,7 @@ public:
return static_cast<SvXMLShapeContext*>(xContext.get())->getShape();
}
};
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/xmloff/source/transform/EventOASISTContext.cxx b/xmloff/source/transform/EventOASISTContext.cxx
index 7781631123e6..ce903b6a7e74 100644
--- a/xmloff/source/transform/EventOASISTContext.cxx
+++ b/xmloff/source/transform/EventOASISTContext.cxx
@@ -44,7 +44,6 @@ class XMLTransformerOASISEventMap_Impl:
{
public:
explicit XMLTransformerOASISEventMap_Impl( XMLTransformerEventMapEntry *pInit );
- ~XMLTransformerOASISEventMap_Impl();
};
XMLTransformerOASISEventMap_Impl::XMLTransformerOASISEventMap_Impl( XMLTransformerEventMapEntry *pInit )
@@ -70,10 +69,6 @@ XMLTransformerOASISEventMap_Impl::XMLTransformerOASISEventMap_Impl( XMLTransform
}
}
-XMLTransformerOASISEventMap_Impl::~XMLTransformerOASISEventMap_Impl()
-{
-}
-
XMLEventOASISTransformerContext::XMLEventOASISTransformerContext(
XMLTransformerBase& rImp,
const OUString& rQName ) :