summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/inc/svx/svdobj.hxx6
-rw-r--r--svx/inc/svx/svdsob.hxx4
-rw-r--r--svx/source/svdraw/svdlayer.cxx54
-rw-r--r--svx/source/svdraw/svdobj.cxx32
-rwxr-xr-xunusedcode.easy10
5 files changed, 0 insertions, 106 deletions
diff --git a/svx/inc/svx/svdobj.hxx b/svx/inc/svx/svdobj.hxx
index 6ab8927c2c3a..86c4feac7fe1 100644
--- a/svx/inc/svx/svdobj.hxx
+++ b/svx/inc/svx/svdobj.hxx
@@ -962,16 +962,10 @@ public:
bool IsEdgeObj() const;
bool Is3DObj() const;
bool IsUnoObj() const;
- bool IsMasterCachable() const;
- bool ShareLock();
- void ShareUnlock();
- bool IsShareLock() const;
void SetMarkProtect(bool bProt);
bool IsMarkProtect() const;
void SetInserted(bool bIns);
bool IsInserted() const;
- void SetGrouped(bool bGrp);
- bool IsGrouped() const;
void SetMoveProtect(bool bProt);
bool IsMoveProtect() const;
void SetResizeProtect(bool bProt);
diff --git a/svx/inc/svx/svdsob.hxx b/svx/inc/svx/svdsob.hxx
index 5764abe74aaf..4f7c5159babc 100644
--- a/svx/inc/svx/svdsob.hxx
+++ b/svx/inc/svx/svdsob.hxx
@@ -95,12 +95,8 @@ public:
}
sal_Bool IsEmpty() const;
- sal_Bool IsFull() const;
sal_uInt16 GetSetCount() const;
- sal_uInt8 GetSetBit(sal_uInt16 nNum) const;
- sal_uInt16 GetClearCount() const;
- sal_uInt8 GetClearBit(sal_uInt16 nNum) const;
void operator&=(const SetOfByte& r2ndSet);
void operator|=(const SetOfByte& r2ndSet);
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;
diff --git a/unusedcode.easy b/unusedcode.easy
index bf8ac97e3503..72523288754a 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -195,22 +195,12 @@ ScaList::Insert(void*, unsigned int)
ScrollBarBox::ScrollBarBox(Window*, ResId const&)
ScrollableWindow::MakeVisible(Rectangle const&, unsigned char)
SdFilterDetect::impl_createFactory(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory> const&)
-SdrObject::IsGrouped() const
-SdrObject::IsMasterCachable() const
-SdrObject::IsShareLock() const
-SdrObject::SetGrouped(bool)
-SdrObject::ShareLock()
-SdrObject::ShareUnlock()
SectReprArr::Insert(SectRepr* const&, unsigned short&)
SectReprArr::Insert(SectRepr* const*, unsigned short)
SectReprArr::Insert(SectReprArr const*, unsigned short, unsigned short)
SectReprArr::Remove(SectRepr* const&, unsigned short)
SectReprArr::Remove(unsigned short, unsigned short)
SecurityEnvironment_NssImpl::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
-SetOfByte::GetClearBit(unsigned short) const
-SetOfByte::GetClearCount() const
-SetOfByte::GetSetBit(unsigned short) const
-SetOfByte::IsFull() const
SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*)
SfxApplication::Main()
SfxBrushItemLink::Set(SfxBrushItemLink*)