diff options
author | Noel Grandin <noel@peralex.com> | 2015-03-02 13:50:43 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-03-19 10:45:00 +0200 |
commit | 5133b27e638140ba574016b33dae70ca92edc323 (patch) | |
tree | 8c113b072c017a2beb6b96fa144c7ccb399373f5 /sfx2/inc/bitset.hxx | |
parent | 062e40c76bcab664907737feace74f134a25c29c (diff) |
loplugin:constantfunction: sfx2
Change-Id: I7b4c18b1f9644048f506fc1b1d1fb8c8c590ea7f
Diffstat (limited to 'sfx2/inc/bitset.hxx')
-rw-r--r-- | sfx2/inc/bitset.hxx | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/sfx2/inc/bitset.hxx b/sfx2/inc/bitset.hxx index e8847462ef03..79a6981088c8 100644 --- a/sfx2/inc/bitset.hxx +++ b/sfx2/inc/bitset.hxx @@ -51,15 +51,9 @@ public: BitSet operator^( sal_uInt16 nBit ) const; BitSet& operator^=( const BitSet& rSet ); BitSet& operator^=( sal_uInt16 nBit ); - bool IsRealSubSet( const BitSet& rSet ) const; - bool IsSubSet( const BitSet& rSet ) const; - bool IsRealSuperSet( const BitSet& rSet ) const; bool Contains( sal_uInt16 nBit ) const; - bool IsSuperSet( const BitSet& rSet ) const; bool operator==( const BitSet& rSet ) const; - bool operator==( sal_uInt16 nBit ) const; bool operator!=( const BitSet& rSet ) const; - bool operator!=( sal_uInt16 nBit ) const; }; @@ -144,48 +138,12 @@ inline BitSet& BitSet::operator^=( sal_uInt16 ) } #endif -// determines if the other bitset is a real superset -inline bool BitSet::IsRealSubSet( const BitSet& ) const -{ - return false; -} - -// determines if the other bitset is a superset or equal -inline bool BitSet::IsSubSet( const BitSet& ) const -{ - return false; -} - -// determines if the other bitset is a real subset -inline bool BitSet::IsRealSuperSet( const BitSet& ) const -{ - return false; -} - -// determines if the other bitset is a subset or equal -inline bool BitSet::IsSuperSet( const BitSet& ) const -{ - return false; -} - -// determines if the bit is the only one in the bitset -inline bool BitSet::operator==( sal_uInt16 ) const -{ - return false; -} - // determines if the bitsets aren't equal inline bool BitSet::operator!=( const BitSet& rSet ) const { return !( *this == rSet ); } -// determines if the bitset doesn't contain only this bit -inline bool BitSet::operator!=( sal_uInt16 nBit ) const -{ - return !( *this == nBit ); -} - class IndexBitSet : BitSet { public: |