loplugin:finalclasses
Change-Id: I62b094a3bd9a4f630cebdf538c04391e2920ff2c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154064 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -326,7 +326,7 @@ private:
|
||||
|
||||
|
||||
// a class implementing the comphelper::IPropertyInfoService
|
||||
class ConcreteInfoService : public ::comphelper::IPropertyInfoService
|
||||
class ConcreteInfoService final : public ::comphelper::IPropertyInfoService
|
||||
{
|
||||
public:
|
||||
virtual ~ConcreteInfoService() {}
|
||||
|
@@ -23,7 +23,7 @@
|
||||
#include <vcl/weld.hxx>
|
||||
|
||||
/// Dialog for editing a name
|
||||
class CUI_DLLPUBLIC SvxNameDialog : public weld::GenericDialogController
|
||||
class CUI_DLLPUBLIC SvxNameDialog final : public weld::GenericDialogController
|
||||
{
|
||||
private:
|
||||
std::unique_ptr<weld::Entry> m_xEdtName;
|
||||
@@ -74,7 +74,7 @@ public:
|
||||
/** #i68101#
|
||||
Dialog for editing Object name
|
||||
plus uniqueness-callback-linkHandler */
|
||||
class SvxObjectNameDialog : public weld::GenericDialogController
|
||||
class SvxObjectNameDialog final : public weld::GenericDialogController
|
||||
{
|
||||
private:
|
||||
// name
|
||||
@@ -101,7 +101,7 @@ public:
|
||||
|
||||
/** #i68101#
|
||||
Dialog for editing Object Title and Description */
|
||||
class SvxObjectTitleDescDialog : public weld::GenericDialogController
|
||||
class SvxObjectTitleDescDialog final : public weld::GenericDialogController
|
||||
{
|
||||
private:
|
||||
// title
|
||||
|
@@ -37,7 +37,7 @@ class SingleLinePrimitive2D;
|
||||
|
||||
namespace drawinglayer::processor2d
|
||||
{
|
||||
class DRAWINGLAYER_DLLPUBLIC CairoPixelProcessor2D : public BaseProcessor2D
|
||||
class DRAWINGLAYER_DLLPUBLIC CairoPixelProcessor2D final : public BaseProcessor2D
|
||||
{
|
||||
// the modifiedColorPrimitive stack
|
||||
basegfx::BColorModifierStack maBColorModifierStack;
|
||||
|
@@ -276,7 +276,7 @@ public:
|
||||
~CustomPropertiesTimeField();
|
||||
};
|
||||
|
||||
class DurationDialog_Impl : public weld::GenericDialogController
|
||||
class DurationDialog_Impl final : public weld::GenericDialogController
|
||||
{
|
||||
std::unique_ptr<weld::CheckButton> m_xNegativeCB;
|
||||
std::unique_ptr<weld::SpinButton> m_xYearNF;
|
||||
|
@@ -48,7 +48,7 @@ public:
|
||||
OUString& rStrName );
|
||||
};
|
||||
|
||||
class XMLOFF_DLLPUBLIC XMLGradientStopContext: public SvXMLImportContext
|
||||
class XMLOFF_DLLPUBLIC XMLGradientStopContext final : public SvXMLImportContext
|
||||
{
|
||||
public:
|
||||
XMLGradientStopContext(
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
namespace oox::xls {
|
||||
|
||||
class FormulaBuffer : public WorkbookHelper
|
||||
class FormulaBuffer final : public WorkbookHelper
|
||||
{
|
||||
public:
|
||||
/**
|
||||
|
@@ -96,7 +96,7 @@ class FormulaParserImpl;
|
||||
instance is contained in the global filter data to prevent construction and
|
||||
destruction of internal buffers for every imported formula.
|
||||
*/
|
||||
class FormulaParser : public FormulaProcessorBase
|
||||
class FormulaParser final : public FormulaProcessorBase
|
||||
{
|
||||
public:
|
||||
explicit FormulaParser( const WorkbookHelper& rHelper );
|
||||
|
@@ -29,7 +29,7 @@
|
||||
|
||||
class SdrModel;
|
||||
|
||||
class ScDrawModelBroadcaster : public SfxListener,
|
||||
class ScDrawModelBroadcaster final : public SfxListener,
|
||||
public ::cppu::WeakImplHelper< css::document::XShapeEventBroadcaster >
|
||||
{
|
||||
mutable std::mutex maListenerMutex;
|
||||
|
@@ -30,7 +30,7 @@ typedef rtl::Reference<sdr::table::Cell> CellRef;
|
||||
|
||||
namespace sdr::properties
|
||||
{
|
||||
class CellTextProvider : public svx::ITextProvider
|
||||
class CellTextProvider final : public svx::ITextProvider
|
||||
{
|
||||
public:
|
||||
explicit CellTextProvider(sdr::table::CellRef xCell);
|
||||
@@ -44,7 +44,7 @@ private:
|
||||
const sdr::table::CellRef m_xCell;
|
||||
};
|
||||
|
||||
class CellProperties : public TextProperties
|
||||
class CellProperties final : public TextProperties
|
||||
{
|
||||
protected:
|
||||
// create a new itemset
|
||||
|
@@ -27,7 +27,7 @@
|
||||
#include <mutex>
|
||||
#include <vector>
|
||||
|
||||
class SvxShapeCollection
|
||||
class SvxShapeCollection final
|
||||
: public cppu::WeakAggImplHelper3<css::drawing::XShapes, css::lang::XServiceInfo,
|
||||
css::lang::XComponent>
|
||||
{
|
||||
|
@@ -61,7 +61,7 @@ VCL_DLLPUBLIC basegfx::B2DRange getClippedFillDamage(cairo_t* cr);
|
||||
VCL_DLLPUBLIC basegfx::B2DRange getClippedStrokeDamage(cairo_t* cr);
|
||||
VCL_DLLPUBLIC basegfx::B2DRange getStrokeDamage(cairo_t* cr);
|
||||
|
||||
class SystemDependentData_CairoPath : public basegfx::SystemDependentData
|
||||
class SystemDependentData_CairoPath final : public basegfx::SystemDependentData
|
||||
{
|
||||
private:
|
||||
// the path data itself
|
||||
|
@@ -27,7 +27,7 @@
|
||||
|
||||
#include <headless/CairoCommon.hxx>
|
||||
|
||||
class VCL_DLLPUBLIC SvpGraphicsBackend : public SalGraphicsImpl
|
||||
class VCL_DLLPUBLIC SvpGraphicsBackend final : public SalGraphicsImpl
|
||||
{
|
||||
CairoCommon& m_rCairoCommon;
|
||||
|
||||
|
@@ -28,7 +28,7 @@ struct CairoCommon;
|
||||
typedef struct _cairo cairo_t;
|
||||
typedef struct _cairo_font_options cairo_font_options_t;
|
||||
|
||||
class VCL_DLLPUBLIC CairoTextRender : public FreeTypeTextRenderImpl
|
||||
class VCL_DLLPUBLIC CairoTextRender final : public FreeTypeTextRenderImpl
|
||||
{
|
||||
private:
|
||||
CairoCommon& mrCairoCommon;
|
||||
|
@@ -85,7 +85,7 @@ private:
|
||||
|
||||
};
|
||||
|
||||
class FreetypeFontFace : public vcl::font::PhysicalFontFace
|
||||
class FreetypeFontFace final : public vcl::font::PhysicalFontFace
|
||||
{
|
||||
private:
|
||||
FreetypeFontInfo* mpFreetypeFontInfo;
|
||||
|
Reference in New Issue
Block a user