summaryrefslogtreecommitdiff
path: root/xmloff/source/xforms
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-23 10:11:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-23 10:11:59 +0000
commitaac6bb5bb3359a4c38bf77a98ac4bbdca470107c (patch)
tree3314f3b695184621d725161b10b243ebaaa9b46f /xmloff/source/xforms
parenta0dc3972876fd3b483f1fc534d1c582d02f52386 (diff)
ditch some empty dtors which match the default dtor
Change-Id: Id2450b03e6c8c5461e92d995ea8c33d5dfd55a45
Diffstat (limited to 'xmloff/source/xforms')
-rw-r--r--xmloff/source/xforms/SchemaContext.cxx5
-rw-r--r--xmloff/source/xforms/SchemaContext.hxx1
-rw-r--r--xmloff/source/xforms/SchemaRestrictionContext.cxx4
-rw-r--r--xmloff/source/xforms/SchemaRestrictionContext.hxx1
-rw-r--r--xmloff/source/xforms/SchemaSimpleTypeContext.cxx5
-rw-r--r--xmloff/source/xforms/SchemaSimpleTypeContext.hxx2
-rw-r--r--xmloff/source/xforms/TokenContext.cxx6
-rw-r--r--xmloff/source/xforms/TokenContext.hxx2
-rw-r--r--xmloff/source/xforms/XFormsBindContext.cxx4
-rw-r--r--xmloff/source/xforms/XFormsBindContext.hxx1
-rw-r--r--xmloff/source/xforms/XFormsInstanceContext.cxx4
-rw-r--r--xmloff/source/xforms/XFormsInstanceContext.hxx1
-rw-r--r--xmloff/source/xforms/XFormsModelContext.cxx5
-rw-r--r--xmloff/source/xforms/XFormsModelContext.hxx1
-rw-r--r--xmloff/source/xforms/XFormsSubmissionContext.cxx4
-rw-r--r--xmloff/source/xforms/XFormsSubmissionContext.hxx1
16 files changed, 0 insertions, 47 deletions
diff --git a/xmloff/source/xforms/SchemaContext.cxx b/xmloff/source/xforms/SchemaContext.cxx
index 928f4c37deb0..27ac6bed31b7 100644
--- a/xmloff/source/xforms/SchemaContext.cxx
+++ b/xmloff/source/xforms/SchemaContext.cxx
@@ -49,7 +49,6 @@ static const SvXMLTokenMapEntry aChildren[] =
XML_TOKEN_MAP_END
};
-
SchemaContext::SchemaContext(
SvXMLImport& rImport,
sal_uInt16 nPrefix,
@@ -60,10 +59,6 @@ SchemaContext::SchemaContext(
{
}
-SchemaContext::~SchemaContext()
-{
-}
-
void SchemaContext::HandleAttribute(
sal_uInt16,
const OUString& )
diff --git a/xmloff/source/xforms/SchemaContext.hxx b/xmloff/source/xforms/SchemaContext.hxx
index cd03695cc36a..1e65995eb2a2 100644
--- a/xmloff/source/xforms/SchemaContext.hxx
+++ b/xmloff/source/xforms/SchemaContext.hxx
@@ -42,7 +42,6 @@ public:
sal_uInt16 nPrfx,
const OUString& rLName,
const css::uno::Reference<css::xforms::XDataTypeRepository>& rRepository );
- virtual ~SchemaContext() override;
// implement TokenContext methods:
diff --git a/xmloff/source/xforms/SchemaRestrictionContext.cxx b/xmloff/source/xforms/SchemaRestrictionContext.cxx
index e595a88bd79f..994c17480f12 100644
--- a/xmloff/source/xforms/SchemaRestrictionContext.cxx
+++ b/xmloff/source/xforms/SchemaRestrictionContext.cxx
@@ -93,10 +93,6 @@ SchemaRestrictionContext::SchemaRestrictionContext(
SAL_WARN_IF( !mxRepository.is(), "xmloff", "need repository" );
}
-SchemaRestrictionContext::~SchemaRestrictionContext()
-{
-}
-
void SchemaRestrictionContext::CreateDataType()
{
// only do something if we don't have a data type already
diff --git a/xmloff/source/xforms/SchemaRestrictionContext.hxx b/xmloff/source/xforms/SchemaRestrictionContext.hxx
index d5808aa459b5..2de3fcea7cca 100644
--- a/xmloff/source/xforms/SchemaRestrictionContext.hxx
+++ b/xmloff/source/xforms/SchemaRestrictionContext.hxx
@@ -46,7 +46,6 @@ public:
const OUString& rLName,
css::uno::Reference<css::xforms::XDataTypeRepository>& rRepository,
const OUString& sTypeName );
- virtual ~SchemaRestrictionContext() override;
protected:
// create mxDataType (if not already present)
diff --git a/xmloff/source/xforms/SchemaSimpleTypeContext.cxx b/xmloff/source/xforms/SchemaSimpleTypeContext.cxx
index 5374a9abac2e..f558c3e997d2 100644
--- a/xmloff/source/xforms/SchemaSimpleTypeContext.cxx
+++ b/xmloff/source/xforms/SchemaSimpleTypeContext.cxx
@@ -49,7 +49,6 @@ static const SvXMLTokenMapEntry aChildren[] =
XML_TOKEN_MAP_END
};
-
SchemaSimpleTypeContext::SchemaSimpleTypeContext(
SvXMLImport& rImport,
sal_uInt16 nPrefix,
@@ -60,10 +59,6 @@ SchemaSimpleTypeContext::SchemaSimpleTypeContext(
{
}
-SchemaSimpleTypeContext::~SchemaSimpleTypeContext()
-{
-}
-
void SchemaSimpleTypeContext::HandleAttribute(
sal_uInt16 nToken,
const OUString& rValue )
diff --git a/xmloff/source/xforms/SchemaSimpleTypeContext.hxx b/xmloff/source/xforms/SchemaSimpleTypeContext.hxx
index 3ac9bf9a95ea..0280b0870f3c 100644
--- a/xmloff/source/xforms/SchemaSimpleTypeContext.hxx
+++ b/xmloff/source/xforms/SchemaSimpleTypeContext.hxx
@@ -44,8 +44,6 @@ public:
const OUString& rLName,
const css::uno::Reference<css::xforms::XDataTypeRepository>& rRepository );
- virtual ~SchemaSimpleTypeContext() override;
-
// implement TokenContext methods:
protected:
diff --git a/xmloff/source/xforms/TokenContext.cxx b/xmloff/source/xforms/TokenContext.cxx
index a1341b90c1b0..3aefb3a89f1a 100644
--- a/xmloff/source/xforms/TokenContext.cxx
+++ b/xmloff/source/xforms/TokenContext.cxx
@@ -31,13 +31,11 @@
using com::sun::star::uno::Reference;
using com::sun::star::xml::sax::XAttributeList;
-
struct SvXMLTokenMapEntry aEmptyMap[1] =
{
XML_TOKEN_MAP_END
};
-
TokenContext::TokenContext( SvXMLImport& rImport,
sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -49,10 +47,6 @@ TokenContext::TokenContext( SvXMLImport& rImport,
{
}
-TokenContext::~TokenContext()
-{
-}
-
void TokenContext::StartElement(
const Reference<XAttributeList>& xAttributeList )
{
diff --git a/xmloff/source/xforms/TokenContext.hxx b/xmloff/source/xforms/TokenContext.hxx
index 70d1ee5e3bc9..a19b8503758e 100644
--- a/xmloff/source/xforms/TokenContext.hxx
+++ b/xmloff/source/xforms/TokenContext.hxx
@@ -47,8 +47,6 @@ public:
const SvXMLTokenMapEntry* pAttributes,
const SvXMLTokenMapEntry* pChildren );
- virtual ~TokenContext() override;
-
// implement SvXMLImportContext methods:
/** call HandleAttribute for each attribute in the token map;
diff --git a/xmloff/source/xforms/XFormsBindContext.cxx b/xmloff/source/xforms/XFormsBindContext.cxx
index 9c7c811ceab4..c19c9b5838a4 100644
--- a/xmloff/source/xforms/XFormsBindContext.cxx
+++ b/xmloff/source/xforms/XFormsBindContext.cxx
@@ -76,10 +76,6 @@ XFormsBindContext::XFormsBindContext(
mxModel->getBindings()->insert( makeAny( mxBinding ) );
}
-XFormsBindContext::~XFormsBindContext()
-{
-}
-
void XFormsBindContext::HandleAttribute( sal_uInt16 nToken,
const OUString& rValue )
{
diff --git a/xmloff/source/xforms/XFormsBindContext.hxx b/xmloff/source/xforms/XFormsBindContext.hxx
index d5b962f10ce9..26424b8c406f 100644
--- a/xmloff/source/xforms/XFormsBindContext.hxx
+++ b/xmloff/source/xforms/XFormsBindContext.hxx
@@ -43,7 +43,6 @@ public:
sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xforms::XModel2>& xModel );
- virtual ~XFormsBindContext() override;
// implement SvXMLImportContext & TokenContext methods:
diff --git a/xmloff/source/xforms/XFormsInstanceContext.cxx b/xmloff/source/xforms/XFormsInstanceContext.cxx
index cf5a24ce1971..77b5a4806632 100644
--- a/xmloff/source/xforms/XFormsInstanceContext.cxx
+++ b/xmloff/source/xforms/XFormsInstanceContext.cxx
@@ -66,10 +66,6 @@ XFormsInstanceContext::XFormsInstanceContext(
SAL_WARN_IF( !mxModel.is(), "xmloff", "need model" );
}
-XFormsInstanceContext::~XFormsInstanceContext()
-{
-}
-
SvXMLImportContext* XFormsInstanceContext::CreateChildContext(
sal_uInt16 nPrefix,
const OUString& rLocalName,
diff --git a/xmloff/source/xforms/XFormsInstanceContext.hxx b/xmloff/source/xforms/XFormsInstanceContext.hxx
index 76f0fa7df429..1bcdd16883d7 100644
--- a/xmloff/source/xforms/XFormsInstanceContext.hxx
+++ b/xmloff/source/xforms/XFormsInstanceContext.hxx
@@ -46,7 +46,6 @@ public:
sal_uInt16 nPrfx,
const OUString& rLName,
const css::uno::Reference<css::xforms::XModel2> & xModel );
- virtual ~XFormsInstanceContext() override;
// implement SvXMLImportContext & TokenContext methods:
// We override CreateChildContext, because we want to read
diff --git a/xmloff/source/xforms/XFormsModelContext.cxx b/xmloff/source/xforms/XFormsModelContext.cxx
index 8f802d3adfa3..3ab4701a9b70 100644
--- a/xmloff/source/xforms/XFormsModelContext.cxx
+++ b/xmloff/source/xforms/XFormsModelContext.cxx
@@ -70,11 +70,6 @@ XFormsModelContext::XFormsModelContext( SvXMLImport& rImport,
{
}
-XFormsModelContext::~XFormsModelContext()
-{
-}
-
-
void XFormsModelContext::HandleAttribute(
sal_uInt16 nToken,
const OUString& rValue )
diff --git a/xmloff/source/xforms/XFormsModelContext.hxx b/xmloff/source/xforms/XFormsModelContext.hxx
index ca4b8379a3ce..8546c5d74105 100644
--- a/xmloff/source/xforms/XFormsModelContext.hxx
+++ b/xmloff/source/xforms/XFormsModelContext.hxx
@@ -41,7 +41,6 @@ public:
XFormsModelContext( SvXMLImport& rImport,
sal_uInt16 nPrfx,
const OUString& rLName );
- virtual ~XFormsModelContext() override;
const css::uno::Reference<css::xforms::XModel2>& getModel() { return mxModel;}
diff --git a/xmloff/source/xforms/XFormsSubmissionContext.cxx b/xmloff/source/xforms/XFormsSubmissionContext.cxx
index 0ebad871ac6d..88fb3e374abd 100644
--- a/xmloff/source/xforms/XFormsSubmissionContext.cxx
+++ b/xmloff/source/xforms/XFormsSubmissionContext.cxx
@@ -78,10 +78,6 @@ XFormsSubmissionContext::XFormsSubmissionContext(
xModel->getSubmissions()->insert( makeAny( mxSubmission ) );
}
-XFormsSubmissionContext::~XFormsSubmissionContext()
-{
-}
-
Any toBool( const OUString& rValue )
{
Any aValue;
diff --git a/xmloff/source/xforms/XFormsSubmissionContext.hxx b/xmloff/source/xforms/XFormsSubmissionContext.hxx
index d93444f07ad4..33ac54542bd8 100644
--- a/xmloff/source/xforms/XFormsSubmissionContext.hxx
+++ b/xmloff/source/xforms/XFormsSubmissionContext.hxx
@@ -42,7 +42,6 @@ public:
sal_uInt16 nPrefix,
const OUString& rLocalName,
const css::uno::Reference<css::xforms::XModel2>& xModel );
- virtual ~XFormsSubmissionContext() override;
// implement TokenContext methods: