summaryrefslogtreecommitdiff
path: root/vcl/inc/graphic
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-27 18:53:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-27 20:52:52 +0100
commit49e37a1c3d192c9c5d03972c25f802aeb01c668e (patch)
treec82a7155825625b4a473f494937736b71bc63701 /vcl/inc/graphic
parentdcb31718a238f115f703f1088ba5220e620dec1c (diff)
loplugin:finalclasses in vcl
Change-Id: If22569a1b7d53fc1b5b87f7ec7d262ebb260e798 Reviewed-on: https://gerrit.libreoffice.org/83933 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/graphic')
-rw-r--r--vcl/inc/graphic/UnoGraphic.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/inc/graphic/UnoGraphic.hxx b/vcl/inc/graphic/UnoGraphic.hxx
index 5728debf6a47..f6eed8fabdf0 100644
--- a/vcl/inc/graphic/UnoGraphic.hxx
+++ b/vcl/inc/graphic/UnoGraphic.hxx
@@ -31,7 +31,7 @@
namespace unographic {
-class Graphic : public css::graphic::XGraphic,
+class Graphic final : public css::graphic::XGraphic,
public css::awt::XBitmap,
public css::lang::XUnoTunnel,
public ::unographic::GraphicDescriptor,
@@ -44,7 +44,7 @@ public:
using ::unographic::GraphicDescriptor::init;
void init( const ::Graphic& rGraphic ) throw();
-protected:
+private:
// XInterface
virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type & rType ) override;
@@ -72,8 +72,6 @@ protected:
// XUnoTunnel
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& rId ) override;
-private:
-
::Graphic maGraphic;
};