loplugin:finalclasses jvmaccess..o3tl

Change-Id: Iadb8621d7490b55ee6dbcadffb3c7e2527958424
Reviewed-on: https://gerrit.libreoffice.org/81655
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin
2019-10-29 20:25:15 +01:00
parent af7589107e
commit 714f0868a5
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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.
*/
+1 -1
View File
@@ -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.
+2 -2
View File
@@ -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
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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")