summaryrefslogtreecommitdiff
path: root/include/basegfx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-07 15:01:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-10 07:44:47 +0100
commit049e026755f7c36c7594bf4e7891603930669a54 (patch)
tree6b27975dff99c2bfcb46ef0ed1bf0e6122ad75f3 /include/basegfx
parent37a4a250662cbfb394f02ad29edca53d898a05d7 (diff)
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>
Diffstat (limited to 'include/basegfx')
-rw-r--r--include/basegfx/color/bcolormodifier.hxx3
-rw-r--r--include/basegfx/pixel/bpixel.hxx3
-rw-r--r--include/basegfx/tuple/b2i64tuple.hxx3
3 files changed, 3 insertions, 6 deletions
diff --git a/include/basegfx/color/bcolormodifier.hxx b/include/basegfx/color/bcolormodifier.hxx
index def842fabf59..56b6c0a3a386 100644
--- a/include/basegfx/color/bcolormodifier.hxx
+++ b/include/basegfx/color/bcolormodifier.hxx
@@ -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:
diff --git a/include/basegfx/pixel/bpixel.hxx b/include/basegfx/pixel/bpixel.hxx
index ed1dadc06a09..6ea620b0037c 100644
--- a/include/basegfx/pixel/bpixel.hxx
+++ b/include/basegfx/pixel/bpixel.hxx
@@ -27,9 +27,8 @@
namespace basegfx
{
- class BASEGFX_DLLPUBLIC BPixel
+ class BASEGFX_DLLPUBLIC BPixel final
{
- protected:
union
{
struct
diff --git a/include/basegfx/tuple/b2i64tuple.hxx b/include/basegfx/tuple/b2i64tuple.hxx
index 10942b0dd452..ae3ec5f5a969 100644
--- a/include/basegfx/tuple/b2i64tuple.hxx
+++ b/include/basegfx/tuple/b2i64tuple.hxx
@@ -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;