summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--UnoControls/inc/multiplexer.hxx6
-rw-r--r--toolkit/inc/helper/scrollabledialog.hxx2
-rw-r--r--toolkit/inc/helper/unowrapper.hxx2
-rw-r--r--unoxml/inc/mouseevent.hxx2
-rw-r--r--unoxml/inc/mutationevent.hxx2
-rw-r--r--writerfilter/inc/ooxml/QNameToString.hxx2
-rw-r--r--writerperfect/inc/DirectoryStream.hxx2
-rw-r--r--writerperfect/inc/DocumentHandler.hxx2
-rw-r--r--writerperfect/inc/WPFTEncodingDialog.hxx2
-rw-r--r--writerperfect/inc/WPXSvInputStream.hxx2
10 files changed, 11 insertions, 13 deletions
diff --git a/UnoControls/inc/multiplexer.hxx b/UnoControls/inc/multiplexer.hxx
index dda3013a3600..640435ad520e 100644
--- a/UnoControls/inc/multiplexer.hxx
+++ b/UnoControls/inc/multiplexer.hxx
@@ -39,7 +39,7 @@ namespace com::sun::star::awt { struct WindowEvent; }
namespace unocontrols {
-class OMRCListenerMultiplexerHelper : public css::awt::XFocusListener
+class OMRCListenerMultiplexerHelper final : public css::awt::XFocusListener
, public css::awt::XWindowListener
, public css::awt::XKeyListener
, public css::awt::XMouseListener
@@ -198,9 +198,7 @@ public:
virtual void SAL_CALL windowDeactivated( const css::lang::EventObject& aEvent ) override;
-// protected methods
-
-protected:
+private:
/**
@short Remove the listener from the peer.
diff --git a/toolkit/inc/helper/scrollabledialog.hxx b/toolkit/inc/helper/scrollabledialog.hxx
index 14bc87ab027c..6dce324dbccb 100644
--- a/toolkit/inc/helper/scrollabledialog.hxx
+++ b/toolkit/inc/helper/scrollabledialog.hxx
@@ -26,7 +26,7 @@
namespace toolkit
{
- class ScrollableDialog : public Dialog
+ class ScrollableDialog final : public Dialog
{
public:
enum ScrollBarVisibility { None, Vert, Hori, Both };
diff --git a/toolkit/inc/helper/unowrapper.hxx b/toolkit/inc/helper/unowrapper.hxx
index c095ef2f4f8b..cfb890584c61 100644
--- a/toolkit/inc/helper/unowrapper.hxx
+++ b/toolkit/inc/helper/unowrapper.hxx
@@ -32,7 +32,7 @@
-class UnoWrapper : public UnoWrapperBase
+class UnoWrapper final : public UnoWrapperBase
{
private:
css::uno::Reference< css::awt::XToolkit> mxToolkit;
diff --git a/unoxml/inc/mouseevent.hxx b/unoxml/inc/mouseevent.hxx
index 3f6788e89f13..abbf1ff2c82e 100644
--- a/unoxml/inc/mouseevent.hxx
+++ b/unoxml/inc/mouseevent.hxx
@@ -32,7 +32,7 @@ namespace DOM { namespace events {
typedef ::cppu::ImplInheritanceHelper< CUIEvent, css::xml::dom::events::XMouseEvent >
CMouseEvent_Base;
-class CMouseEvent
+class CMouseEvent final
: public CMouseEvent_Base
{
sal_Int32 m_screenX;
diff --git a/unoxml/inc/mutationevent.hxx b/unoxml/inc/mutationevent.hxx
index 5499b5a93633..68145b270b3e 100644
--- a/unoxml/inc/mutationevent.hxx
+++ b/unoxml/inc/mutationevent.hxx
@@ -37,7 +37,7 @@ namespace DOM { namespace events {
typedef ::cppu::ImplInheritanceHelper< CEvent, css::xml::dom::events::XMutationEvent >
CMutationEvent_Base;
-class CMutationEvent
+class CMutationEvent final
: public CMutationEvent_Base
{
css::uno::Reference< css::xml::dom::XNode > m_relatedNode;
diff --git a/writerfilter/inc/ooxml/QNameToString.hxx b/writerfilter/inc/ooxml/QNameToString.hxx
index 3508a5f4229e..c076047e13a4 100644
--- a/writerfilter/inc/ooxml/QNameToString.hxx
+++ b/writerfilter/inc/ooxml/QNameToString.hxx
@@ -29,7 +29,7 @@
namespace writerfilter
{
-class QNameToString : public virtual SvRefBase
+class QNameToString final : public virtual SvRefBase
{
typedef tools::SvRef<QNameToString> Pointer_t;
typedef std::map < Id, std::string > Map;
diff --git a/writerperfect/inc/DirectoryStream.hxx b/writerperfect/inc/DirectoryStream.hxx
index 6747c8707109..1f9f32303cac 100644
--- a/writerperfect/inc/DirectoryStream.hxx
+++ b/writerperfect/inc/DirectoryStream.hxx
@@ -32,7 +32,7 @@ class XContent;
namespace writerperfect
{
-class WRITERPERFECT_DLLPUBLIC DirectoryStream : public librevenge::RVNGInputStream
+class WRITERPERFECT_DLLPUBLIC DirectoryStream final : public librevenge::RVNGInputStream
{
struct Impl;
diff --git a/writerperfect/inc/DocumentHandler.hxx b/writerperfect/inc/DocumentHandler.hxx
index ab7b15dd6aab..d14bb273557f 100644
--- a/writerperfect/inc/DocumentHandler.hxx
+++ b/writerperfect/inc/DocumentHandler.hxx
@@ -47,7 +47,7 @@ class XDocumentHandler;
namespace writerperfect
{
-class WRITERPERFECT_DLLPUBLIC DocumentHandler : public OdfDocumentHandler
+class WRITERPERFECT_DLLPUBLIC DocumentHandler final : public OdfDocumentHandler
{
public:
DocumentHandler(css::uno::Reference<css::xml::sax::XDocumentHandler> const& xHandler);
diff --git a/writerperfect/inc/WPFTEncodingDialog.hxx b/writerperfect/inc/WPFTEncodingDialog.hxx
index 81e0363a568d..b38977e6cce9 100644
--- a/writerperfect/inc/WPFTEncodingDialog.hxx
+++ b/writerperfect/inc/WPFTEncodingDialog.hxx
@@ -20,7 +20,7 @@
namespace writerperfect
{
-class WRITERPERFECT_DLLPUBLIC WPFTEncodingDialog : public weld::GenericDialogController
+class WRITERPERFECT_DLLPUBLIC WPFTEncodingDialog final : public weld::GenericDialogController
{
public:
WPFTEncodingDialog(weld::Window* pParent, const OUString& title, const OUString& defEncoding);
diff --git a/writerperfect/inc/WPXSvInputStream.hxx b/writerperfect/inc/WPXSvInputStream.hxx
index f67e4159e28d..35908684825a 100644
--- a/writerperfect/inc/WPXSvInputStream.hxx
+++ b/writerperfect/inc/WPXSvInputStream.hxx
@@ -34,7 +34,7 @@ namespace writerperfect
{
class WPXSvInputStreamImpl;
-class WRITERPERFECT_DLLPUBLIC WPXSvInputStream : public librevenge::RVNGInputStream
+class WRITERPERFECT_DLLPUBLIC WPXSvInputStream final : public librevenge::RVNGInputStream
{
public:
WPXSvInputStream(css::uno::Reference<css::io::XInputStream> const& xStream);