summaryrefslogtreecommitdiff
path: root/framework/inc/xml
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-07 15:49:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-11-08 06:11:28 +0000
commit525a45f22f591d8046ca95af3073ed27fd283ef0 (patch)
treed06550b02fdc6d33c5df7c5aa7b223a7df7ae328 /framework/inc/xml
parent990102be61a47a14a73a25ee320ac1033250777e (diff)
loplugin:unnecessaryvirtual in framework
Change-Id: I893bf955e45e661e3ec440dbd530fca22931c23b Reviewed-on: https://gerrit.libreoffice.org/30666 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework/inc/xml')
-rw-r--r--framework/inc/xml/acceleratorconfigurationwriter.hxx4
-rw-r--r--framework/inc/xml/imagesdocumenthandler.hxx4
-rw-r--r--framework/inc/xml/menudocumenthandler.hxx4
-rw-r--r--framework/inc/xml/statusbardocumenthandler.hxx4
-rw-r--r--framework/inc/xml/toolboxdocumenthandler.hxx8
-rw-r--r--framework/inc/xml/xmlnamespaces.hxx4
6 files changed, 14 insertions, 14 deletions
diff --git a/framework/inc/xml/acceleratorconfigurationwriter.hxx b/framework/inc/xml/acceleratorconfigurationwriter.hxx
index e71c8893acf9..503c7b04cc72 100644
--- a/framework/inc/xml/acceleratorconfigurationwriter.hxx
+++ b/framework/inc/xml/acceleratorconfigurationwriter.hxx
@@ -28,7 +28,7 @@
namespace framework{
-class AcceleratorConfigurationWriter
+class AcceleratorConfigurationWriter final
{
// member
@@ -60,7 +60,7 @@ class AcceleratorConfigurationWriter
const css::uno::Reference< css::xml::sax::XDocumentHandler >& xConfig );
/** @short does nothing real ... */
- virtual ~AcceleratorConfigurationWriter();
+ ~AcceleratorConfigurationWriter();
/** @short TODO */
void flush();
diff --git a/framework/inc/xml/imagesdocumenthandler.hxx b/framework/inc/xml/imagesdocumenthandler.hxx
index 8527642cab11..a3002c02bdbe 100644
--- a/framework/inc/xml/imagesdocumenthandler.hxx
+++ b/framework/inc/xml/imagesdocumenthandler.hxx
@@ -130,14 +130,14 @@ class OReadImagesDocumentHandler : public ::cppu::WeakImplHelper< css::xml::sax:
css::uno::Reference< css::xml::sax::XLocator > m_xLocator;
};
-class OWriteImagesDocumentHandler
+class OWriteImagesDocumentHandler final
{
public:
OWriteImagesDocumentHandler(
const ImageListsDescriptor& aItems,
css::uno::Reference< css::xml::sax::XDocumentHandler > const &
rWriteDocumentHandler);
- virtual ~OWriteImagesDocumentHandler();
+ ~OWriteImagesDocumentHandler();
void WriteImagesDocument() throw
( css::xml::sax::SAXException,
diff --git a/framework/inc/xml/menudocumenthandler.hxx b/framework/inc/xml/menudocumenthandler.hxx
index 6a1d99a5dafd..d81a00e1bdcb 100644
--- a/framework/inc/xml/menudocumenthandler.hxx
+++ b/framework/inc/xml/menudocumenthandler.hxx
@@ -250,14 +250,14 @@ class FWE_DLLPUBLIC OReadMenuPopupHandler : public ReadMenuDocumentHandlerBase
NextElementClose m_nNextElementExpected;
}; // OReadMenuPopupHandler
-class FWE_DLLPUBLIC OWriteMenuDocumentHandler
+class FWE_DLLPUBLIC OWriteMenuDocumentHandler final
{
public:
OWriteMenuDocumentHandler(
const css::uno::Reference< css::container::XIndexAccess >& rMenuBarContainer,
const css::uno::Reference< css::xml::sax::XDocumentHandler >& rDocumentHandler,
bool bIsMenuBar );
- virtual ~OWriteMenuDocumentHandler();
+ ~OWriteMenuDocumentHandler();
void WriteMenuDocument() throw
( css::xml::sax::SAXException, css::uno::RuntimeException );
diff --git a/framework/inc/xml/statusbardocumenthandler.hxx b/framework/inc/xml/statusbardocumenthandler.hxx
index 0c1c3aaab854..9627f34adc5f 100644
--- a/framework/inc/xml/statusbardocumenthandler.hxx
+++ b/framework/inc/xml/statusbardocumenthandler.hxx
@@ -117,13 +117,13 @@ class FWE_DLLPUBLIC OReadStatusBarDocumentHandler :
css::uno::Reference< css::xml::sax::XLocator > m_xLocator;
};
-class FWE_DLLPUBLIC OWriteStatusBarDocumentHandler
+class FWE_DLLPUBLIC OWriteStatusBarDocumentHandler final
{
public:
OWriteStatusBarDocumentHandler(
const css::uno::Reference< css::container::XIndexAccess >& rStatusBarItems,
const css::uno::Reference< css::xml::sax::XDocumentHandler >& rWriteDocHandler );
- virtual ~OWriteStatusBarDocumentHandler();
+ ~OWriteStatusBarDocumentHandler();
void WriteStatusBarDocument() throw
( css::xml::sax::SAXException,
diff --git a/framework/inc/xml/toolboxdocumenthandler.hxx b/framework/inc/xml/toolboxdocumenthandler.hxx
index 16d398679185..7b7363baf0f3 100644
--- a/framework/inc/xml/toolboxdocumenthandler.hxx
+++ b/framework/inc/xml/toolboxdocumenthandler.hxx
@@ -136,13 +136,13 @@ class FWE_DLLPUBLIC OReadToolBoxDocumentHandler :
OUString m_aCommandURL;
};
-class FWE_DLLPUBLIC OWriteToolBoxDocumentHandler
+class FWE_DLLPUBLIC OWriteToolBoxDocumentHandler final
{
public:
OWriteToolBoxDocumentHandler(
- const css::uno::Reference< css::container::XIndexAccess >& rItemAccess,
- css::uno::Reference< css::xml::sax::XDocumentHandler >& rDocumentHandler );
- virtual ~OWriteToolBoxDocumentHandler();
+ const css::uno::Reference< css::container::XIndexAccess >& rItemAccess,
+ css::uno::Reference< css::xml::sax::XDocumentHandler >& rDocumentHandler );
+ ~OWriteToolBoxDocumentHandler();
void WriteToolBoxDocument() throw
( css::xml::sax::SAXException,
diff --git a/framework/inc/xml/xmlnamespaces.hxx b/framework/inc/xml/xmlnamespaces.hxx
index fab1dd2b8f68..c7c7f2864769 100644
--- a/framework/inc/xml/xmlnamespaces.hxx
+++ b/framework/inc/xml/xmlnamespaces.hxx
@@ -28,12 +28,12 @@
namespace framework
{
-class FWE_DLLPUBLIC XMLNamespaces
+class FWE_DLLPUBLIC XMLNamespaces final
{
public:
XMLNamespaces();
XMLNamespaces( const XMLNamespaces& );
- virtual ~XMLNamespaces();
+ ~XMLNamespaces();
void addNamespace( const OUString& aName, const OUString& aValue )
throw( css::xml::sax::SAXException );