diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 08:21:03 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-25 08:15:36 +0000 |
commit | ef2b4342e9f8a887bb840d8a6c875125139d433a (patch) | |
tree | cf261b63e7cceef509dcaf7244e08ba83ea2bbe2 /sax | |
parent | 3c6b7c8b43d23dd7de46c02ee2cfa5bd2a97f168 (diff) |
loplugin: unnecessary destructor oox..sax
Change-Id: Ie12bfabc92bce04d702f3e77aa5896366e49245e
Reviewed-on: https://gerrit.libreoffice.org/33509
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 9 | ||||
-rw-r--r-- | sax/source/tools/CachedOutputStream.hxx | 1 | ||||
-rw-r--r-- | sax/source/tools/fastserializer.hxx | 1 |
3 files changed, 0 insertions, 11 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 43fa6c6b0308..3428297a933a 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -128,7 +128,6 @@ struct ParserData css::lang::Locale maLocale; ParserData(); - ~ParserData(); }; struct NamespaceDefine @@ -190,7 +189,6 @@ struct Entity : public ParserData explicit Entity( const ParserData& rData ); Entity( const Entity& rEntity ); - ~Entity(); void startElement( Event *pEvent ); void characters( const OUString& sChars ); void endElement(); @@ -394,9 +392,6 @@ ParserData::ParserData() : mpTokenHandler( nullptr ) {} -ParserData::~ParserData() -{} - Entity::Entity(const ParserData& rData) : ParserData(rData) , mnProducedEventsSize(0) @@ -422,10 +417,6 @@ Entity::Entity(const Entity& e) { } -Entity::~Entity() -{ -} - void Entity::startElement( Event *pEvent ) { const sal_Int32& nElementToken = pEvent->mnElementToken; diff --git a/sax/source/tools/CachedOutputStream.hxx b/sax/source/tools/CachedOutputStream.hxx index b93abcb63740..a71b9788ba5a 100644 --- a/sax/source/tools/CachedOutputStream.hxx +++ b/sax/source/tools/CachedOutputStream.hxx @@ -49,7 +49,6 @@ public: , mbWriteToOutStream(true) , mpForMerge(nullptr) {} - ~CachedOutputStream() {} const css::uno::Reference< css::io::XOutputStream >& getOutputStream() const { diff --git a/sax/source/tools/fastserializer.hxx b/sax/source/tools/fastserializer.hxx index 6f679e52f82d..482d10de723c 100644 --- a/sax/source/tools/fastserializer.hxx +++ b/sax/source/tools/fastserializer.hxx @@ -177,7 +177,6 @@ private: #endif explicit ForMerge(sal_Int32 const nTag) : m_Tag(nTag) {} - virtual ~ForMerge() override {} virtual void setCurrentElement( ::sal_Int32 /*nToken*/ ) {} virtual Int8Sequence& getData(); |