include/jvmaccess/unovirtualmachine.hxx | 2 +- include/jvmaccess/virtualmachine.hxx | 2 +- include/linguistic/hyphdta.hxx | 4 ++-- include/linguistic/spelldta.hxx | 2 +- include/o3tl/numeric.hxx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-)
New commits: commit 714f0868a59ff6f8b6032e137c8aa62a95bb20dc Author: Noel Grandin <[email protected]> AuthorDate: Tue Oct 29 10:34:24 2019 +0200 Commit: Noel Grandin <[email protected]> CommitDate: Tue Oct 29 20:25:15 2019 +0100 loplugin:finalclasses jvmaccess..o3tl Change-Id: Iadb8621d7490b55ee6dbcadffb3c7e2527958424 Reviewed-on: https://gerrit.libreoffice.org/81655 Tested-by: Jenkins Reviewed-by: Noel Grandin <[email protected]> diff --git a/include/jvmaccess/unovirtualmachine.hxx b/include/jvmaccess/unovirtualmachine.hxx index efddbee3eeb0..c412b34b959f 100644 --- a/include/jvmaccess/unovirtualmachine.hxx +++ b/include/jvmaccess/unovirtualmachine.hxx @@ -32,7 +32,7 @@ class VirtualMachine; /** An encapsulating wrapper around a Java virtual machine and an appropriate UNO class loader. */ -class JVMACCESS_DLLPUBLIC UnoVirtualMachine: public salhelper::SimpleReferenceObject { +class JVMACCESS_DLLPUBLIC UnoVirtualMachine final : public salhelper::SimpleReferenceObject { public: /** An exception indicating failure to create a UnoVirtualMachine. */ diff --git a/include/jvmaccess/virtualmachine.hxx b/include/jvmaccess/virtualmachine.hxx index 69931dfeeced..2076a02577bd 100644 --- a/include/jvmaccess/virtualmachine.hxx +++ b/include/jvmaccess/virtualmachine.hxx @@ -30,7 +30,7 @@ namespace jvmaccess { /** An encapsulating wrapper around a Java virtual machine. */ -class JVMACCESS_DLLPUBLIC VirtualMachine: public salhelper::SimpleReferenceObject +class JVMACCESS_DLLPUBLIC VirtualMachine final : public salhelper::SimpleReferenceObject { public: /** A helper to attach a thread to a Java virtual machine. diff --git a/include/linguistic/hyphdta.hxx b/include/linguistic/hyphdta.hxx index b86d8cf8d78a..23f1c87d0e30 100644 --- a/include/linguistic/hyphdta.hxx +++ b/include/linguistic/hyphdta.hxx @@ -29,7 +29,7 @@ namespace linguistic { -class HyphenatedWord : +class HyphenatedWord final : public cppu::WeakImplHelper< css::linguistic2::XHyphenatedWord > { OUString aWord; @@ -67,7 +67,7 @@ public: }; -class PossibleHyphens : +class PossibleHyphens final : public cppu::WeakImplHelper < css::linguistic2::XPossibleHyphens diff --git a/include/linguistic/spelldta.hxx b/include/linguistic/spelldta.hxx index 1f0ecf6b37a7..b42a323b81e3 100644 --- a/include/linguistic/spelldta.hxx +++ b/include/linguistic/spelldta.hxx @@ -48,7 +48,7 @@ void SearchSimilarText( const OUString &rText, LanguageType nLanguage, std::vector< OUString > & rDicListProps ); -class SpellAlternatives +class SpellAlternatives final : public cppu::WeakImplHelper < css::linguistic2::XSpellAlternatives, diff --git a/include/o3tl/numeric.hxx b/include/o3tl/numeric.hxx index 09f67f53d5d3..9980319a648b 100644 --- a/include/o3tl/numeric.hxx +++ b/include/o3tl/numeric.hxx @@ -14,7 +14,7 @@ namespace o3tl { - struct divide_by_zero : public std::runtime_error + struct divide_by_zero final : public std::runtime_error { explicit divide_by_zero() : std::runtime_error("divide by zero") _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
