summaryrefslogtreecommitdiff
path: root/include/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-07 14:56:48 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-10 07:44:37 +0100
commit37a4a250662cbfb394f02ad29edca53d898a05d7 (patch)
tree98d5a804d5e4e9c3d8b38cc996c928f3cbcc545b /include/canvas
parent20dbb652d8bff996ac417f1c2c0894277c52497c (diff)
loplugin:finalclasses in chart2
Change-Id: I35afa226beb6fe4319313125c323d9f059837357 Reviewed-on: https://gerrit.libreoffice.org/44534 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/canvas')
-rw-r--r--include/canvas/parametricpolypolygon.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/canvas/parametricpolypolygon.hxx b/include/canvas/parametricpolypolygon.hxx
index 396b42094ede..060b2037c532 100644
--- a/include/canvas/parametricpolypolygon.hxx
+++ b/include/canvas/parametricpolypolygon.hxx
@@ -43,7 +43,7 @@ namespace canvas
typedef cppu::WeakComponentImplHelper< css::rendering::XParametricPolyPolygon2D,
css::lang::XServiceInfo > ParametricPolyPolygon_Base;
- class CANVASTOOLS_DLLPUBLIC ParametricPolyPolygon : public ::cppu::BaseMutex,
+ class CANVASTOOLS_DLLPUBLIC ParametricPolyPolygon final : public ::cppu::BaseMutex,
public ParametricPolyPolygon_Base
{
public:
@@ -113,12 +113,11 @@ namespace canvas
/// Query all defining values of this object atomically
Values getValues() const;
- protected:
+ private:
virtual ~ParametricPolyPolygon() override; // we're a ref-counted UNO class. _We_ destroy ourselves.
ParametricPolyPolygon(const ParametricPolyPolygon&) = delete;
ParametricPolyPolygon& operator=( const ParametricPolyPolygon& ) = delete;
- private:
static ParametricPolyPolygon* createLinearHorizontalGradient( const css::uno::Reference<
css::rendering::XGraphicDevice >& rDevice,
const css::uno::Sequence< css::uno::Sequence< double > >& colors,