loplugin:finalclasses in basic,basegfx
Change-Id: Iff223782fa0ded0fe46b8b7af35bfd21f331015f Reviewed-on: https://gerrit.libreoffice.org/44535 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
37a4a25066
commit
049e026755
7 changed files with 11 additions and 20 deletions
|
@ -35,9 +35,8 @@ public:
|
|||
};
|
||||
|
||||
// class SbStdPicture
|
||||
class BASIC_DLLPUBLIC SbStdPicture : public SbxObject
|
||||
class BASIC_DLLPUBLIC SbStdPicture final : public SbxObject
|
||||
{
|
||||
protected:
|
||||
Graphic aGraphic;
|
||||
|
||||
virtual ~SbStdPicture() override;
|
||||
|
@ -56,9 +55,8 @@ public:
|
|||
};
|
||||
|
||||
// class SbStdFont
|
||||
class BASIC_DLLPUBLIC SbStdFont : public SbxObject
|
||||
class BASIC_DLLPUBLIC SbStdFont final : public SbxObject
|
||||
{
|
||||
protected:
|
||||
bool bBold;
|
||||
bool bItalic;
|
||||
bool bStrikeThrough;
|
||||
|
@ -94,10 +92,8 @@ public:
|
|||
};
|
||||
|
||||
// class SbStdClipboard
|
||||
class BASIC_DLLPUBLIC SbStdClipboard : public SbxObject
|
||||
class BASIC_DLLPUBLIC SbStdClipboard final : public SbxObject
|
||||
{
|
||||
protected:
|
||||
|
||||
virtual ~SbStdClipboard() override;
|
||||
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
|
||||
|
||||
|
|
|
@ -613,13 +613,13 @@ public:
|
|||
};
|
||||
|
||||
|
||||
class ScriptExtensionIterator
|
||||
class ScriptExtensionIterator final
|
||||
{
|
||||
public:
|
||||
ScriptExtensionIterator();
|
||||
OUString nextBasicOrDialogLibrary( bool& rbPureDialogLib );
|
||||
|
||||
protected:
|
||||
private:
|
||||
css::uno::Reference< css::deployment::XPackage >
|
||||
implGetNextUserScriptPackage( bool& rbPureDialogLib );
|
||||
css::uno::Reference< css::deployment::XPackage >
|
||||
|
@ -648,7 +648,7 @@ protected:
|
|||
|
||||
int m_iUserPackage;
|
||||
int m_iSharedPackage;
|
||||
int m_iBundledPackage;
|
||||
int m_iBundledPackage;
|
||||
|
||||
ScriptSubPackageIterator* m_pScriptSubPackageIterator;
|
||||
|
||||
|
|
|
@ -46,10 +46,9 @@ public:
|
|||
};
|
||||
|
||||
|
||||
class SbiSymPool {
|
||||
class SbiSymPool final {
|
||||
friend class SbiSymDef;
|
||||
friend class SbiProcDef;
|
||||
protected:
|
||||
SbiStringPool& rStrings;
|
||||
std::vector<std::unique_ptr<SbiSymDef>> m_Data;
|
||||
SbiSymPool* pParent;
|
||||
|
|
|
@ -371,9 +371,8 @@ namespace basegfx
|
|||
All references to BColorModifier members use shared pointers, thus instances of
|
||||
BColorModifierStack can be copied by the default mechanisms if needed.
|
||||
*/
|
||||
class BASEGFX_DLLPUBLIC BColorModifierStack
|
||||
class BASEGFX_DLLPUBLIC BColorModifierStack final
|
||||
{
|
||||
protected:
|
||||
::std::vector< BColorModifierSharedPtr > maBColorModifiers;
|
||||
|
||||
public:
|
||||
|
|
|
@ -27,9 +27,8 @@
|
|||
|
||||
namespace basegfx
|
||||
{
|
||||
class BASEGFX_DLLPUBLIC BPixel
|
||||
class BASEGFX_DLLPUBLIC BPixel final
|
||||
{
|
||||
protected:
|
||||
union
|
||||
{
|
||||
struct
|
||||
|
|
|
@ -35,9 +35,8 @@ namespace basegfx
|
|||
@derive Use this class to implement Points or Vectors
|
||||
which are based on two sal_Int64 values
|
||||
*/
|
||||
class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC B2I64Tuple
|
||||
class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC B2I64Tuple final
|
||||
{
|
||||
protected:
|
||||
sal_Int64 mnX;
|
||||
sal_Int64 mnY;
|
||||
|
||||
|
|
|
@ -218,9 +218,8 @@ public:
|
|||
virtual void Clear() override;
|
||||
};
|
||||
|
||||
class BASIC_DLLPUBLIC SbxStdCollection : public SbxCollection
|
||||
class BASIC_DLLPUBLIC SbxStdCollection final : public SbxCollection
|
||||
{
|
||||
protected:
|
||||
OUString aElemClass;
|
||||
bool bAddRemoveOk;
|
||||
virtual ~SbxStdCollection() override;
|
||||
|
|
Loading…
Reference in a new issue