summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-16 08:53:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-16 09:04:09 +0100
commit13023291d1541cdfc6fa0a00706c149f0f9b2e26 (patch)
tree9472e0dd31d356d568bd95f57ba89c04467c7c2a /lotuswordpro
parentf88247d9c5fe484b799600e24a96abbdd34cfe2f (diff)
callcatcher: unused code
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwppara.hxx10
-rw-r--r--lotuswordpro/source/filter/lwppara1.cxx18
-rw-r--r--lotuswordpro/source/filter/lwpsortopt.cxx8
-rw-r--r--lotuswordpro/source/filter/lwpsortopt.hxx1
4 files changed, 0 insertions, 37 deletions
diff --git a/lotuswordpro/source/filter/lwppara.hxx b/lotuswordpro/source/filter/lwppara.hxx
index 9bdac99e2f56..bec521d12e54 100644
--- a/lotuswordpro/source/filter/lwppara.hxx
+++ b/lotuswordpro/source/filter/lwppara.hxx
@@ -286,12 +286,8 @@ private:
void OverrideParaBullet(LwpParaProperty* pProps);
void OverrideParaNumbering(LwpParaProperty* pProps);
- void OverrideTab(LwpTabOverride* base,LwpTabOverride* over,XFParaStyle* pOverStyle);
sal_Bool IsBadHintsInFile();
- //void OutPutSectionTail(IXFStream* pOutputStream);
- //void OutPutBulletTail(LwpBulletStyleMgr* pBulletStyleMgr,IXFStream* pOutputStream);
-
sal_Bool RegisterMasterPage(XFParaStyle* pBaseStyle);
void RegisterNewSectionStyle(LwpPageLayout* pLayout);
@@ -300,12 +296,6 @@ private:
void AddBreakAfter(XFContentContainer* pCont);
void AddBreakBefore(XFContentContainer* pCont);
XFSection* CreateXFSection();
-
- /*
- sal_Bool IsNeedTabForTOC();
- void AddTabStyleForTOC();
- void AddTabStopForTOC();
- maybe useful for futer version */
};
inline LwpSilverBullet* LwpPara::GetSilverBullet()
diff --git a/lotuswordpro/source/filter/lwppara1.cxx b/lotuswordpro/source/filter/lwppara1.cxx
index 19929675b0bf..38ad11236591 100644
--- a/lotuswordpro/source/filter/lwppara1.cxx
+++ b/lotuswordpro/source/filter/lwppara1.cxx
@@ -558,24 +558,6 @@ void LwpPara::OverrideParaNumbering(LwpParaProperty* pProps)
m_pParaNumbering.reset(pOver.release());
}
-/**************************************************************************
- * @short:
- * @descr:
- * @param:
- * @param:
- * @return:
-**************************************************************************/
-void LwpPara::OverrideTab(LwpTabOverride *base, LwpTabOverride *over, XFParaStyle *pOverStyle)
-{
- if (base)
- {
- over->Override(base);
- LwpParaStyle::ApplyTab(pOverStyle,base);
- }
- else
- LwpParaStyle::ApplyTab(pOverStyle,over);
-}
-
void LwpPara::FindLayouts()
{
m_Fribs.SetPara(this);
diff --git a/lotuswordpro/source/filter/lwpsortopt.cxx b/lotuswordpro/source/filter/lwpsortopt.cxx
index 151e24fa66fb..e1919d334f28 100644
--- a/lotuswordpro/source/filter/lwpsortopt.cxx
+++ b/lotuswordpro/source/filter/lwpsortopt.cxx
@@ -89,13 +89,5 @@ void LwpSortOption::Read(LwpObjectStream *pStrm)
}
pStrm->SkipExtra();
}
-/**
- * @descr return the disk size
- **/
-sal_uInt16 LwpSortOption::DiskSize()
-{
- sal_uInt16 keysize = 4 * sizeof(sal_uInt16);
- return (3* keysize + (2 * sizeof(sal_uInt16)) + sizeof(sal_uInt8) + sizeof(sal_uInt16));
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/lotuswordpro/source/filter/lwpsortopt.hxx b/lotuswordpro/source/filter/lwpsortopt.hxx
index a1df7d05ea95..6bb75cb87a24 100644
--- a/lotuswordpro/source/filter/lwpsortopt.hxx
+++ b/lotuswordpro/source/filter/lwpsortopt.hxx
@@ -92,7 +92,6 @@ public:
~LwpSortOption(){}
public:
void Read(LwpObjectStream *pStrm);
- sal_uInt16 DiskSize();
private:
LwpSortKey m_Keys[3];
sal_uInt16 m_nCount;