diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-17 09:49:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-06-19 14:08:50 +0200 |
commit | e3077168072452fb8f1c0a8afb2992877cb96d1c (patch) | |
tree | 785da5126ddb052250ee3747fa221c746cc62e82 /include/svx/fmtools.hxx | |
parent | e48dd86341fff8a010f514bbcd818468f3a92815 (diff) |
loplugin:finalclasses
improve the plugin to detect more cases.
I only apply the new final changes to classes in /include here.
Which reveals that
RoadmapWizard::getPageController( TabPage* _pCurrentPage )
will always return nullptr
Also needed to sprinkle some
SAL_DLLPUBLIC_TEMPLATE
around to workaround Visual Studio linking problems.
Change-Id: Iadb7d46a9e0e73dabce562375ca013c0fea6690c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117365
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/fmtools.hxx')
-rw-r--r-- | include/svx/fmtools.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/fmtools.hxx b/include/svx/fmtools.hxx index e8c0c7dbe4fd..1ead9069b4f0 100644 --- a/include/svx/fmtools.hxx +++ b/include/svx/fmtools.hxx @@ -144,7 +144,7 @@ protected: void setAdapter(FmXDisposeMultiplexer* pAdapter); }; -class SAL_WARN_UNUSED FmXDisposeMultiplexer : public cppu::WeakImplHelper< css::lang::XEventListener > +class SAL_WARN_UNUSED FmXDisposeMultiplexer final : public cppu::WeakImplHelper< css::lang::XEventListener > { css::uno::Reference< css::lang::XComponent> m_xObject; FmXDisposeListener* m_pListener; |