summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-01 19:18:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-01 19:22:54 +0200
commit362d4f0cd4e50111edfae9d30c90602c37ed65a2 (patch)
tree0b432c049d580dcac6130bca9fb028bab8af8fa8 /xmloff/inc
parentb66d87086804460c1986df1b832fd6b2ea075a90 (diff)
Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/XMLChartPropertySetMapper.hxx2
-rw-r--r--xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx2
-rw-r--r--xmloff/inc/XMLLineNumberingImportContext.hxx2
-rw-r--r--xmloff/inc/xmlversion.hxx6
4 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/inc/XMLChartPropertySetMapper.hxx b/xmloff/inc/XMLChartPropertySetMapper.hxx
index 7885d9a3dce4..1507b162ab69 100644
--- a/xmloff/inc/XMLChartPropertySetMapper.hxx
+++ b/xmloff/inc/XMLChartPropertySetMapper.hxx
@@ -43,7 +43,7 @@ class XMLChartPropertySetMapper : public XMLPropertySetMapper
{
public:
explicit XMLChartPropertySetMapper( bool bForExport );
- ~XMLChartPropertySetMapper();
+ virtual ~XMLChartPropertySetMapper();
};
class XMLChartExportPropertyMapper : public SvXMLExportPropertyMapper
diff --git a/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx b/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx
index f0c4dc4f188e..f3dff8088491 100644
--- a/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx
+++ b/xmloff/inc/XMLIndexBibliographyConfigurationContext.hxx
@@ -75,7 +75,7 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList> & xAttrList);
- ~XMLIndexBibliographyConfigurationContext();
+ virtual ~XMLIndexBibliographyConfigurationContext();
protected:
diff --git a/xmloff/inc/XMLLineNumberingImportContext.hxx b/xmloff/inc/XMLLineNumberingImportContext.hxx
index fbfa477df39c..8cc440cbcce8 100644
--- a/xmloff/inc/XMLLineNumberingImportContext.hxx
+++ b/xmloff/inc/XMLLineNumberingImportContext.hxx
@@ -86,7 +86,7 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList> & xAttrList);
- ~XMLLineNumberingImportContext();
+ virtual ~XMLLineNumberingImportContext();
// to be used by child context: set separator info
void SetSeparatorText(const OUString& sText);
diff --git a/xmloff/inc/xmlversion.hxx b/xmloff/inc/xmlversion.hxx
index 93ec3c6ecdcd..cc23e9bea8aa 100644
--- a/xmloff/inc/xmlversion.hxx
+++ b/xmloff/inc/xmlversion.hxx
@@ -69,7 +69,7 @@ public:
XMLVersionListImport(
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext,
com::sun::star::uno::Sequence < com::sun::star::util::RevisionTag >& rVersions );
- ~XMLVersionListImport() throw();
+ virtual ~XMLVersionListImport() throw();
com::sun::star::uno::Sequence < com::sun::star::util::RevisionTag >&
GetList() { return maVersions; }
@@ -88,7 +88,7 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
- ~XMLVersionListContext();
+ virtual ~XMLVersionListContext();
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const OUString& rLocalName,
@@ -114,7 +114,7 @@ public:
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
- ~XMLVersionContext();
+ virtual ~XMLVersionContext();
};
class XMLVersionListPersistence : public ::cppu::WeakImplHelper1< ::com::sun::star::document::XDocumentRevisionListPersistence >