diff options
Diffstat (limited to 'svx/source/svdraw/svdlayer.cxx')
-rw-r--r-- | svx/source/svdraw/svdlayer.cxx | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/svx/source/svdraw/svdlayer.cxx b/svx/source/svdraw/svdlayer.cxx index 42d90291e4fa..f9a3f373b341 100644 --- a/svx/source/svdraw/svdlayer.cxx +++ b/svx/source/svdraw/svdlayer.cxx @@ -48,17 +48,6 @@ sal_Bool SetOfByte::IsEmpty() const return sal_True; } -sal_Bool SetOfByte::IsFull() const -{ - for(sal_uInt16 i(0); i < 32; i++) - { - if(aData[i] != 0xFF) - return sal_False; - } - - return sal_True; -} - sal_uInt16 SetOfByte::GetSetCount() const { sal_uInt16 nRet(0); @@ -83,49 +72,6 @@ sal_uInt16 SetOfByte::GetSetCount() const return nRet; } -sal_uInt8 SetOfByte::GetSetBit(sal_uInt16 nNum) const -{ - nNum++; - sal_uInt16 i(0), j(0); - sal_uInt16 nRet(0); - - while(j < nNum && i < 256) - { - if(IsSet(sal_uInt8(i))) - j++; - i++; - } - - if(j == nNum) - nRet = i - 1; - - return sal_uInt8(nRet); -} - -sal_uInt16 SetOfByte::GetClearCount() const -{ - return sal_uInt16(256 - GetSetCount()); -} - -sal_uInt8 SetOfByte::GetClearBit(sal_uInt16 nNum) const -{ - nNum++; - sal_uInt16 i(0), j(0); - sal_uInt16 nRet(0); - - while(j < nNum && i < 256) - { - if(!IsSet(sal_uInt8(i))) - j++; - i++; - } - - if(j == nNum) - nRet = i - 1; - - return sal_uInt8(nRet); -} - void SetOfByte::operator&=(const SetOfByte& r2ndSet) { for(sal_uInt16 i(0); i < 32; i++) |