From c5685ec791fbce43e982ffecc9e062063ec7e3d7 Mon Sep 17 00:00:00 2001 From: Alexandre Vicenzi Date: Wed, 29 Jan 2014 20:46:48 -0200 Subject: fdo#63154 Removed unused solar.h ref. in linguc., sfx2, starmath, svl and svx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I241661119371b75804fcf9215ff5e5da2a5b9265 Reviewed-on: https://gerrit.libreoffice.org/7732 Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sfx2/inc/bitset.hxx | 49 +------------------------------------------------ 1 file changed, 1 insertion(+), 48 deletions(-) (limited to 'sfx2/inc') diff --git a/sfx2/inc/bitset.hxx b/sfx2/inc/bitset.hxx index 6fb04245e904..071151351f3d 100644 --- a/sfx2/inc/bitset.hxx +++ b/sfx2/inc/bitset.hxx @@ -19,8 +19,6 @@ #ifndef INCLUDED_SFX2_INC_BITSET_HXX #define INCLUDED_SFX2_INC_BITSET_HXX -#include - class BitSet { private: @@ -64,174 +62,129 @@ public: sal_Bool operator!=( sal_uInt16 nBit ) const; }; -//-------------------------------------------------------------------- // returns sal_True if the set is empty - - - inline sal_Bool BitSet::operator!() const { return nCount == 0; } -//-------------------------------------------------------------------- // returns the number of bits in the bitset - inline sal_uInt16 BitSet::Count() const { return nCount; } -//-------------------------------------------------------------------- // creates the union of two bitset - inline BitSet BitSet::operator|( const BitSet& rSet ) const { return BitSet(*this) |= rSet; } -//-------------------------------------------------------------------- // creates the union of a bitset with a single bit - inline BitSet BitSet::operator|( sal_uInt16 nBit ) const { return BitSet(*this) |= nBit; } -//-------------------------------------------------------------------- // creates the asymetric difference - inline BitSet BitSet::operator-( const BitSet& ) const { return BitSet(); } -//-------------------------------------------------------------------- // creates the asymetric difference with a single bit - - inline BitSet BitSet::operator-( sal_uInt16 ) const { return BitSet(); } -//-------------------------------------------------------------------- // removes the bits contained in rSet - inline BitSet& BitSet::operator-=( const BitSet& ) { return *this; } -//-------------------------------------------------------------------- - // creates the intersection with another bitset - inline BitSet BitSet::operator&( const BitSet& ) const { return BitSet(); } -//-------------------------------------------------------------------- // intersects with another bitset - inline BitSet& BitSet::operator&=( const BitSet& ) { return *this; } -//-------------------------------------------------------------------- // creates the symetric difference with another bitset - inline BitSet BitSet::operator^( const BitSet& ) const { return BitSet(); } -//-------------------------------------------------------------------- // creates the symetric difference with a single bit - inline BitSet BitSet::operator^( sal_uInt16 ) const { return BitSet(); } -//-------------------------------------------------------------------- // builds the symetric difference with another bitset - inline BitSet& BitSet::operator^=( const BitSet& ) { return *this; } -//-------------------------------------------------------------------- + #ifdef BITSET_READY // builds the symetric difference with a single bit - inline BitSet& BitSet::operator^=( sal_uInt16 ) { // crash!!! return BitSet(); } #endif -//-------------------------------------------------------------------- // determines if the other bitset is a real superset - inline sal_Bool BitSet::IsRealSubSet( const BitSet& ) const { return sal_False; } -//-------------------------------------------------------------------- // determines if the other bitset is a superset or equal - inline sal_Bool BitSet::IsSubSet( const BitSet& ) const { return sal_False; } -//-------------------------------------------------------------------- // determines if the other bitset is a real subset - inline sal_Bool BitSet::IsRealSuperSet( const BitSet& ) const { return sal_False; } -//-------------------------------------------------------------------- - // determines if the other bitset is a subset or equal - inline sal_Bool BitSet::IsSuperSet( const BitSet& ) const { return sal_False; } -//-------------------------------------------------------------------- // determines if the bit is the only one in the bitset - inline sal_Bool BitSet::operator==( sal_uInt16 ) const { return sal_False; } -//-------------------------------------------------------------------- // determines if the bitsets aren't equal - inline sal_Bool BitSet::operator!=( const BitSet& rSet ) const { return !( *this == rSet ); } -//-------------------------------------------------------------------- // determines if the bitset doesn't contain only this bit - inline sal_Bool BitSet::operator!=( sal_uInt16 nBit ) const { return !( *this == nBit ); } -//-------------------------------------------------------------------- class IndexBitSet : BitSet { -- cgit v1.2.3