diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-08 08:13:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-08 06:57:57 +0000 |
commit | c123c528bf1550e544b29e5a22a94a0452d5f349 (patch) | |
tree | 2dd015a5fe42b6c9b95302016674f3362478d295 /desktop | |
parent | 62e5010e5df379a26aa85ca9fd58bf872f020c36 (diff) |
loplugin:unnecessaryvirtual in comphelper..forms
Change-Id: Iabe292e68cb84b97f207061347ed6a30309dc9fd
Reviewed-on: https://gerrit.libreoffice.org/30679
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/cmdlineargs.hxx | 5 | ||||
-rw-r--r-- | desktop/source/deployment/manager/dp_properties.hxx | 8 |
2 files changed, 5 insertions, 8 deletions
diff --git a/desktop/source/app/cmdlineargs.hxx b/desktop/source/app/cmdlineargs.hxx index c8f071198ec3..7a52e042016d 100644 --- a/desktop/source/app/cmdlineargs.hxx +++ b/desktop/source/app/cmdlineargs.hxx @@ -36,11 +36,12 @@ class CommandLineArgs struct Supplier { // Thrown from constructors and next: - class Exception { + class Exception final + { public: Exception(); Exception(Exception const &); - virtual ~Exception(); + ~Exception(); Exception & operator =(Exception const &); }; diff --git a/desktop/source/deployment/manager/dp_properties.hxx b/desktop/source/deployment/manager/dp_properties.hxx index c1850cf31595..e1ebacefba5d 100644 --- a/desktop/source/deployment/manager/dp_properties.hxx +++ b/desktop/source/deployment/manager/dp_properties.hxx @@ -29,12 +29,8 @@ namespace dp_manager { -/** - - */ -class ExtensionProperties +class ExtensionProperties final { -protected: OUString m_propFileUrl; const css::uno::Reference<css::ucb::XCommandEnvironment> m_xCmdEnv; const css::uno::Reference<css::uno::XComponentContext> m_xContext; @@ -44,7 +40,7 @@ protected: static OUString getPropertyValue(css::beans::NamedValue const & v); public: - virtual ~ExtensionProperties() {}; + ~ExtensionProperties() {}; ExtensionProperties(OUString const & urlExtension, css::uno::Reference<css::ucb::XCommandEnvironment> const & xCmdEnv, css::uno::Reference<css::uno::XComponentContext> const & xContext); |