summaryrefslogtreecommitdiff
path: root/include/drawinglayer/primitive3d
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-03 15:13:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-06 07:12:18 +0100
commit149247ec64b558244f8d94834ead37a1354029f4 (patch)
tree4c08735eccd83b0578ca76d23dee00b033a981df /include/drawinglayer/primitive3d
parent1ae5f7978788ac5192b19bb3da791bb27c7b2d89 (diff)
loplugin:finalclasses in drawinglayer
Change-Id: I8922fc85ab23453791e3ce0b639d4ffafd31e967 Reviewed-on: https://gerrit.libreoffice.org/44315 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/drawinglayer/primitive3d')
-rw-r--r--include/drawinglayer/primitive3d/hatchtextureprimitive3d.hxx4
-rw-r--r--include/drawinglayer/primitive3d/polygontubeprimitive3d.hxx4
-rw-r--r--include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx3
-rw-r--r--include/drawinglayer/primitive3d/shadowprimitive3d.hxx3
4 files changed, 4 insertions, 10 deletions
diff --git a/include/drawinglayer/primitive3d/hatchtextureprimitive3d.hxx b/include/drawinglayer/primitive3d/hatchtextureprimitive3d.hxx
index 6203b58f3407..b46051be91bd 100644
--- a/include/drawinglayer/primitive3d/hatchtextureprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/hatchtextureprimitive3d.hxx
@@ -37,16 +37,14 @@ namespace drawinglayer
primitive has no default buffering, it is necessary here to add a local
buffering mechanism for the decomposition
*/
- class DRAWINGLAYER_DLLPUBLIC HatchTexturePrimitive3D : public TexturePrimitive3D
+ class DRAWINGLAYER_DLLPUBLIC HatchTexturePrimitive3D final : public TexturePrimitive3D
{
- private:
/// the hatch definition
attribute::FillHatchAttribute maHatch;
/// the buffered decomposed hatch
Primitive3DContainer maBuffered3DDecomposition;
- protected:
/// helper: local decomposition
Primitive3DContainer impCreate3DDecomposition() const;
diff --git a/include/drawinglayer/primitive3d/polygontubeprimitive3d.hxx b/include/drawinglayer/primitive3d/polygontubeprimitive3d.hxx
index 76429400ee16..ed0732e48d70 100644
--- a/include/drawinglayer/primitive3d/polygontubeprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/polygontubeprimitive3d.hxx
@@ -44,9 +44,8 @@ namespace drawinglayer
3D objects needed for the line tubes and the edge roundings
in full 3D.
*/
- class DRAWINGLAYER_DLLPUBLIC PolygonTubePrimitive3D : public PolygonHairlinePrimitive3D
+ class DRAWINGLAYER_DLLPUBLIC PolygonTubePrimitive3D final : public PolygonHairlinePrimitive3D
{
- private:
/// hold the last decomposition since it's expensive
Primitive3DContainer maLast3DDecomposition;
@@ -57,7 +56,6 @@ namespace drawinglayer
basegfx::B2DLineJoin maLineJoin;
css::drawing::LineCap maLineCap;
- protected:
/** access methods to maLast3DDecomposition. The usage of this methods may allow
later thread-safe stuff to be added if needed. Only to be used by getDecomposition()
implementations for buffering the last decomposition.
diff --git a/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx b/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx
index fc7a9e9bd4ff..8a296b9a334f 100644
--- a/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx
+++ b/include/drawinglayer/primitive3d/sdrextrudelathetools3d.hxx
@@ -47,9 +47,8 @@ namespace drawinglayer
};
/// class to hold one Slice3D
- class DRAWINGLAYER_DLLPUBLIC Slice3D
+ class DRAWINGLAYER_DLLPUBLIC Slice3D final
{
- protected:
basegfx::B3DPolyPolygon maPolyPolygon;
SliceType3D maSliceType;
diff --git a/include/drawinglayer/primitive3d/shadowprimitive3d.hxx b/include/drawinglayer/primitive3d/shadowprimitive3d.hxx
index b9a43cf9c1ea..ff120847ae8b 100644
--- a/include/drawinglayer/primitive3d/shadowprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/shadowprimitive3d.hxx
@@ -41,9 +41,8 @@ namespace drawinglayer
combined with the scene and camera definition to create the correct
projected shadow 2D-Polygons.
*/
- class DRAWINGLAYER_DLLPUBLIC ShadowPrimitive3D : public GroupPrimitive3D
+ class DRAWINGLAYER_DLLPUBLIC ShadowPrimitive3D final : public GroupPrimitive3D
{
- protected:
/// 2D shadow definition
basegfx::B2DHomMatrix maShadowTransform;
basegfx::BColor maShadowColor;