summaryrefslogtreecommitdiff
path: root/registry
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-25 08:21:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-25 08:15:36 +0000
commitef2b4342e9f8a887bb840d8a6c875125139d433a (patch)
treecf261b63e7cceef509dcaf7244e08ba83ea2bbe2 /registry
parent3c6b7c8b43d23dd7de46c02ee2cfa5bd2a97f168 (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 'registry')
-rw-r--r--registry/source/reflread.cxx12
-rw-r--r--registry/source/reflwrit.cxx15
2 files changed, 0 insertions, 27 deletions
diff --git a/registry/source/reflread.cxx b/registry/source/reflread.cxx
index 1df3a639aa09..97699af8e824 100644
--- a/registry/source/reflread.cxx
+++ b/registry/source/reflread.cxx
@@ -267,8 +267,6 @@ public:
{
}
- ~ConstantPool();
-
sal_uInt32 parseIndex(); // throws std::bad_alloc
CPInfoTag readTag(sal_uInt16 index);
@@ -288,10 +286,6 @@ public:
// throws std::bad_alloc
};
-ConstantPool::~ConstantPool()
-{
-}
-
sal_uInt32 ConstantPool::parseIndex()
{
m_pIndex.reset();
@@ -891,8 +885,6 @@ public:
}
}
- ~MethodList();
-
sal_uInt32 parseIndex(); // throws std::bad_alloc
const sal_Char* getMethodName(sal_uInt16 index);
@@ -910,10 +902,6 @@ private:
sal_uInt16 calcMethodParamIndex( const sal_uInt16 index );
};
-MethodList::~MethodList()
-{
-}
-
sal_uInt16 MethodList::calcMethodParamIndex( const sal_uInt16 index )
{
return (METHOD_OFFSET_PARAM_COUNT + sizeof(sal_uInt16) + (index * m_PARAM_ENTRY_SIZE));
diff --git a/registry/source/reflwrit.cxx b/registry/source/reflwrit.cxx
index 59e712f5a966..e0b52b08c17c 100644
--- a/registry/source/reflwrit.cxx
+++ b/registry/source/reflwrit.cxx
@@ -430,7 +430,6 @@ public:
RTParamMode m_mode;
ParamEntry();
- ~ParamEntry();
void setData(const OString& typeName,
const OString& name,
@@ -442,10 +441,6 @@ ParamEntry::ParamEntry()
{
}
-ParamEntry::~ParamEntry()
-{
-}
-
void ParamEntry::setData(const OString& typeName,
const OString& name,
RTParamMode mode)
@@ -471,7 +466,6 @@ public:
RTFieldAccess m_access;
ReferenceEntry();
- ~ReferenceEntry();
void setData(const OString& name,
RTReferenceType refType,
@@ -485,10 +479,6 @@ ReferenceEntry::ReferenceEntry()
{
}
-ReferenceEntry::~ReferenceEntry()
-{
-}
-
void ReferenceEntry::setData(const OString& name,
RTReferenceType refType,
const OString& doku,
@@ -520,7 +510,6 @@ public:
OString m_doku;
MethodEntry();
- ~MethodEntry();
void setData(const OString& name,
const OString& returnTypeName,
@@ -544,10 +533,6 @@ MethodEntry::MethodEntry()
{
}
-MethodEntry::~MethodEntry()
-{
-}
-
void MethodEntry::setData(const OString& name,
const OString& returnTypeName,
RTMethodMode mode,