summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-03 15:12:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-04 07:15:03 +0000
commit5f77e6e9309cab4633fa8211f9788af9a9a793c9 (patch)
treeb9116cbe98af0a17b2b7448d00d7aa7033b226ae /xmloff/inc
parent7abd369964a0c7f9f80cdbc9e47c7dc120fe8257 (diff)
update loplugin:unnnecessaryvirtual to handler destructors
and update modules writerfilter..xmloff with the resulting changes Change-Id: I54d19c22ddb0ff579b32e4934d266c925b19305c Reviewed-on: https://gerrit.libreoffice.org/30530 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/txtflde.hxx4
-rw-r--r--xmloff/inc/txtvfldi.hxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/inc/txtflde.hxx b/xmloff/inc/txtflde.hxx
index 4be936bfaf16..ba65fd435eff 100644
--- a/xmloff/inc/txtflde.hxx
+++ b/xmloff/inc/txtflde.hxx
@@ -149,7 +149,7 @@ enum FieldIdEnum {
};
-class XMLTextFieldExport
+class XMLTextFieldExport final
{
SvXMLExport& rExport;
@@ -164,7 +164,7 @@ public:
XMLTextFieldExport( SvXMLExport& rExp,
/// XMLPropertyState for the combined characters field
XMLPropertyState* pCombinedCharState );
- virtual ~XMLTextFieldExport();
+ ~XMLTextFieldExport();
/// Export this field and the surrounding span element with the formatting.
/// To be called for every field in the document body.
diff --git a/xmloff/inc/txtvfldi.hxx b/xmloff/inc/txtvfldi.hxx
index 02df858d3b4d..26f14cd019f9 100644
--- a/xmloff/inc/txtvfldi.hxx
+++ b/xmloff/inc/txtvfldi.hxx
@@ -31,7 +31,7 @@
/** helper class: parses value-type and associated value attributes */
-class XMLValueImportHelper
+class XMLValueImportHelper final
{
const OUString sPropertyContent;
@@ -70,7 +70,7 @@ public:
bool bValue, /// process value (Prep.Field)
bool bFormula); /// process formula (Prep.F.)
- virtual ~XMLValueImportHelper();
+ ~XMLValueImportHelper();
/// process attribute values
void ProcessAttribute( sal_uInt16 nAttrToken,