diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-03 15:53:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-04 07:16:25 +0000 |
commit | fc8f32adc2c940f4e35f7bd2acae5e5ff5f71971 (patch) | |
tree | bb15249ce0d3916280139b36bfcaa5e420247481 /vcl/inc/textlayout.hxx | |
parent | 5f77e6e9309cab4633fa8211f9788af9a9a793c9 (diff) |
loplugin:unnnecessaryvirtual in vcl
Change-Id: Ifa8bfafb2e527ce5976f3bd310d107cb2840a5f6
Reviewed-on: https://gerrit.libreoffice.org/30531
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/textlayout.hxx')
-rw-r--r-- | vcl/inc/textlayout.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/textlayout.hxx b/vcl/inc/textlayout.hxx index 7371abd9eb62..97350c0aa405 100644 --- a/vcl/inc/textlayout.hxx +++ b/vcl/inc/textlayout.hxx @@ -84,11 +84,11 @@ namespace vcl /** a class which allows rendering text of a Control onto a device, by taking into account the metrics of a reference device. */ - class ControlTextRenderer + class ControlTextRenderer final { public: ControlTextRenderer( const Control& _rControl, OutputDevice& _rTargetDevice, OutputDevice& _rReferenceDevice ); - virtual ~ControlTextRenderer(); + ~ControlTextRenderer(); Rectangle DrawText( const Rectangle& _rRect, const OUString& _rText, DrawTextFlags _nStyle, |