diff options
author | Noel Grandin <noel@peralex.com> | 2015-12-08 14:17:07 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-01-22 12:14:56 +0000 |
commit | 370294f6d1471b89a30c1f8b917cde3830d66b2f (patch) | |
tree | 6fda9ec3afbf4d048d9fa0f4de5b7f4da4a616b5 /include/editeng | |
parent | cd9cafe54c87768ddde007228dc1d3f3b7e68f92 (diff) |
new loplugin sfxpoolitem
generates a warning about subclasses that add members but do not
override operator==()
Change-Id: If6df1a2cbd115f17bcca22f9b7995181dcf55c03
Reviewed-on: https://gerrit.libreoffice.org/20468
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/pmdlitem.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/editeng/pmdlitem.hxx b/include/editeng/pmdlitem.hxx index 4a0e4ee69c80..423a06bcf823 100644 --- a/include/editeng/pmdlitem.hxx +++ b/include/editeng/pmdlitem.hxx @@ -51,6 +51,7 @@ public: virtual bool QueryValue( css::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const override; virtual bool PutValue( const css::uno::Any& rVal, sal_uInt8 nMemberId ) override; + virtual bool operator==( const SfxPoolItem& ) const override; }; inline SvxPageModelItem::SvxPageModelItem( sal_uInt16 nWh ) |