diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-16 10:11:04 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-18 10:03:44 +0000 |
commit | 2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae (patch) | |
tree | 66ba7ff0b95cf5ceeda5e53294a71c6786460eb3 /include/sfx2/fcontnr.hxx | |
parent | 4e59eecc077d27dd9762e7c890b2aaf92a212959 (diff) |
update unusedmethods plugin to deal with constructors
and fix the operator< implementations in some of the other
plugins too.
Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035
Reviewed-on: https://gerrit.libreoffice.org/25057
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sfx2/fcontnr.hxx')
-rw-r--r-- | include/sfx2/fcontnr.hxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/sfx2/fcontnr.hxx b/include/sfx2/fcontnr.hxx index d7a783411c8f..aded0de15b47 100644 --- a/include/sfx2/fcontnr.hxx +++ b/include/sfx2/fcontnr.hxx @@ -41,18 +41,6 @@ class SfxFilterContainer_Impl; class SfxFrame; -class SfxRefItem : public SfxPoolItem -{ - tools::SvRef<SvRefBase> maRef; -public: - SfxRefItem( sal_uInt16 nWhichId, const tools::SvRef<SvRefBase>& rValue ) : SfxPoolItem( nWhichId ) - { maRef = rValue; } - virtual SfxPoolItem* Clone( SfxItemPool* = nullptr ) const override - { return new SfxRefItem( *this ); } - virtual bool operator==( const SfxPoolItem& rL) const override - { return static_cast<const SfxRefItem&>(rL).maRef == maRef; } -}; - typedef sal_uIntPtr (*SfxDetectFilter)( SfxMedium& rMedium, const SfxFilter **, SfxFilterFlags nMust, SfxFilterFlags nDont ); class SFX2_DLLPUBLIC SfxFilterContainer |