diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-02 15:33:13 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-03 07:54:27 +0100 |
commit | 5da6c31a76a95a19bd15ebdb0d1321b7d1240cc7 (patch) | |
tree | ebcb8eeeb54defa839ee82d97d3a17602639c1b9 /oox | |
parent | 6299c8cae923198c55d47320fa8a89bbcd5b0f2b (diff) |
loplugin:finalclasses
Change-Id: I10ff73f89c965beb3cfb5fc3a40dd959d8f77aaa
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124600
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/inc/drawingml/colorchoicecontext.hxx | 2 | ||||
-rw-r--r-- | oox/inc/drawingml/table/tablecellcontext.hxx | 2 | ||||
-rw-r--r-- | oox/inc/drawingml/textbody.hxx | 2 | ||||
-rw-r--r-- | oox/inc/drawingml/textparagraphproperties.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/oox/inc/drawingml/colorchoicecontext.hxx b/oox/inc/drawingml/colorchoicecontext.hxx index 0e93c704c55c..6e82ee3224b4 100644 --- a/oox/inc/drawingml/colorchoicecontext.hxx +++ b/oox/inc/drawingml/colorchoicecontext.hxx @@ -67,7 +67,7 @@ private: }; /// Same as ColorContext, but handles multiple colors. -class ColorsContext : public ::oox::core::ContextHandler2 +class ColorsContext final : public ::oox::core::ContextHandler2 { public: explicit ColorsContext(::oox::core::ContextHandler2Helper const& rParent, diff --git a/oox/inc/drawingml/table/tablecellcontext.hxx b/oox/inc/drawingml/table/tablecellcontext.hxx index a70ad2475e6e..24a8a2830493 100644 --- a/oox/inc/drawingml/table/tablecellcontext.hxx +++ b/oox/inc/drawingml/table/tablecellcontext.hxx @@ -25,7 +25,7 @@ namespace oox::drawingml::table { -class TableCellContext : public ::oox::core::ContextHandler2 +class TableCellContext final : public ::oox::core::ContextHandler2 { public: TableCellContext(::oox::core::ContextHandler2Helper const& rParent, diff --git a/oox/inc/drawingml/textbody.hxx b/oox/inc/drawingml/textbody.hxx index 2ac96011f3c8..245589e86ac3 100644 --- a/oox/inc/drawingml/textbody.hxx +++ b/oox/inc/drawingml/textbody.hxx @@ -88,7 +88,7 @@ public: const css::uno::Reference < css::text::XText > & xText, const TextCharacterProperties& rTextStyleProperties, const TextListStylePtr& pMasterTextListStylePtr) const; -protected: +private: TextParagraphVector maParagraphs; TextBodyProperties maTextProperties; /// Set if bodyPr tag in this textbody is non-empty during import diff --git a/oox/inc/drawingml/textparagraphproperties.hxx b/oox/inc/drawingml/textparagraphproperties.hxx index dd508179c13d..7bda257d445e 100644 --- a/oox/inc/drawingml/textparagraphproperties.hxx +++ b/oox/inc/drawingml/textparagraphproperties.hxx @@ -113,7 +113,7 @@ public: void dump() const; #endif -protected: +private: TextCharacterProperties maTextCharacterProperties; PropertyMap maTextParagraphPropertyMap; |