summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorElton Chung <elton@layerjet.com>2012-02-11 00:38:07 +0800
committerMichael Meeks <michael.meeks@suse.com>2012-02-13 15:59:15 +0000
commit47716efc8e829c4fc82b22e4d62bb9480eb84aad (patch)
tree385a6b9ccd96302f753121f5ca2d978907bde522 /svx/source
parent952b46570c175dda8b975ad3bc8ef56e747796be (diff)
Remove unused code
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdlayer.cxx54
-rw-r--r--svx/source/svdraw/svdobj.cxx32
2 files changed, 0 insertions, 86 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++)
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index b35877cfa2aa..ed6a84bfe727 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -2588,28 +2588,6 @@ bool SdrObject::IsUnoObj() const
return bIsUnoObj;
}
-bool SdrObject::IsMasterCachable() const
-{
- return !bNotMasterCachable;
-}
-
-bool SdrObject::ShareLock()
-{
- bool r = !bNetLock;
- bNetLock = true;
- return r;
-}
-
-void SdrObject::ShareUnlock()
-{
- bNetLock = false;
-}
-
-bool SdrObject::IsShareLock() const
-{
- return bNetLock;
-}
-
void SdrObject::SetMarkProtect(bool bProt)
{
bMarkProt = bProt;
@@ -2625,16 +2603,6 @@ bool SdrObject::IsInserted() const
return bInserted;
}
-void SdrObject::SetGrouped(bool bGrp)
-{
- bGrouped = bGrp;
-}
-
-bool SdrObject::IsGrouped() const
-{
- return bGrouped;
-}
-
bool SdrObject::IsMoveProtect() const
{
return bMovProt;