summaryrefslogtreecommitdiff
path: root/include/xmloff
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 /include/xmloff
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 'include/xmloff')
-rw-r--r--include/xmloff/xmlnume.hxx4
-rw-r--r--include/xmloff/xmlnumfe.hxx4
-rw-r--r--include/xmloff/xmltabe.hxx4
-rw-r--r--include/xmloff/xmluconv.hxx4
4 files changed, 8 insertions, 8 deletions
diff --git a/include/xmloff/xmlnume.hxx b/include/xmloff/xmlnume.hxx
index 4583c18578bf..9d4b253403d9 100644
--- a/include/xmloff/xmlnume.hxx
+++ b/include/xmloff/xmlnume.hxx
@@ -37,7 +37,7 @@ class SvXMLExportItemMapper;
class SvXMLExport;
class XMLTextListAutoStylePool;
-class XMLOFF_DLLPUBLIC SvxXMLNumRuleExport
+class XMLOFF_DLLPUBLIC SvxXMLNumRuleExport final
{
SvXMLExport& rExport;
const OUString sNumberingRules;
@@ -64,7 +64,7 @@ protected:
public:
SvxXMLNumRuleExport( SvXMLExport& rExport );
- virtual ~SvxXMLNumRuleExport();
+ ~SvxXMLNumRuleExport();
// should be private but sw::StoredChapterNumberingExport needs it
void exportLevelStyles(
diff --git a/include/xmloff/xmlnumfe.hxx b/include/xmloff/xmlnumfe.hxx
index da271105e5f0..905a6e31d318 100644
--- a/include/xmloff/xmlnumfe.hxx
+++ b/include/xmloff/xmlnumfe.hxx
@@ -43,7 +43,7 @@ class SvXMLNumUsedList_Impl;
struct SvXMLEmbeddedTextEntry;
class SvXMLEmbeddedTextEntryArr;
-class XMLOFF_DLLPUBLIC SvXMLNumFmtExport
+class XMLOFF_DLLPUBLIC SvXMLNumFmtExport final
{
private:
SvXMLExport& rExport;
@@ -103,7 +103,7 @@ public:
const css::uno::Reference< css::util::XNumberFormatsSupplier >& rSupp,
const OUString& rPrefix );
- virtual ~SvXMLNumFmtExport();
+ ~SvXMLNumFmtExport();
// core API
void Export( bool bIsAutoStyle);
diff --git a/include/xmloff/xmltabe.hxx b/include/xmloff/xmltabe.hxx
index 140d3b634c34..85c182df573f 100644
--- a/include/xmloff/xmltabe.hxx
+++ b/include/xmloff/xmltabe.hxx
@@ -30,7 +30,7 @@ namespace com { namespace sun { namespace star {
} } }
-class SvxXMLTabStopExport
+class SvxXMLTabStopExport final
{
SvXMLExport& rExport; // for access to document handler
@@ -41,7 +41,7 @@ protected:
public:
SvxXMLTabStopExport( SvXMLExport& rExport );
- virtual ~SvxXMLTabStopExport();
+ ~SvxXMLTabStopExport();
// core API
void Export( const css::uno::Any& rAny );
diff --git a/include/xmloff/xmluconv.hxx b/include/xmloff/xmluconv.hxx
index 9d22985cee83..8c11ca48c9d3 100644
--- a/include/xmloff/xmluconv.hxx
+++ b/include/xmloff/xmluconv.hxx
@@ -75,7 +75,7 @@ public:
a lot of the methods here have been moved to <sax/tools/converter.hxx>!
*/
-class XMLOFF_DLLPUBLIC SvXMLUnitConverter
+class XMLOFF_DLLPUBLIC SvXMLUnitConverter final
{
private:
SvXMLUnitConverter(const SvXMLUnitConverter&) = delete;
@@ -93,7 +93,7 @@ public:
sal_Int16 eCoreMeasureUnit /*css::util::MeasureUnit*/,
sal_Int16 eXMLMeasureUnit /*css::util::MeasureUnit*/);
- virtual ~SvXMLUnitConverter();
+ ~SvXMLUnitConverter();
static sal_Int16 GetMeasureUnit(FieldUnit const nFieldUnit);