summaryrefslogtreecommitdiffstats
path: root/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-06-05 00:19:02 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-06-05 00:19:02 +0200
commit61fed3c77afa93d8f209eb5b2a27d7018d0869d8 (patch)
tree6b7017ea3b807ebfa626aa07a42db305e6a00c18 /lotuswordpro/source/filter/lwpbulletstylemgr.cxx
parentLet's leave the binfilter smallcaps at its original historical value (diff)
downloadcore-61fed3c77afa93d8f209eb5b2a27d7018d0869d8.tar.gz
core-61fed3c77afa93d8f209eb5b2a27d7018d0869d8.zip
Unused private func 'LwpBulletStyleMgr::GetDivisionName'+perf check emptiness
Diffstat (limited to 'lotuswordpro/source/filter/lwpbulletstylemgr.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpbulletstylemgr.cxx25
1 files changed, 0 insertions, 25 deletions
diff --git a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
index 81ebbd5f175e..b5ad2c22e20e 100644
--- a/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
+++ b/lotuswordpro/source/filter/lwpbulletstylemgr.cxx
@@ -78,7 +78,6 @@ LwpBulletStyleMgr::LwpBulletStyleMgr() :
m_pBulletList(NULL), m_bContinue(sal_True), m_bIsBulletSkipped(sal_False), m_nCurrentPos(0xFF)
{
}
-
LwpBulletStyleMgr::~LwpBulletStyleMgr()
{
if (m_pBulletList)
@@ -532,30 +531,6 @@ void LwpBulletStyleMgr::OutputBulletListTail(IXFStream* pOutputStream, sal_uInt1
}
}
-rtl::OUString LwpBulletStyleMgr::GetDivisionName()
-{
- if (!m_pFoundry)
- {
- return rtl::OUString();
- }
-
- rtl::OUString aRet = rtl::OUString();
-
- LwpDocument* pDoc = m_pFoundry->GetDocument();
- if (pDoc)
- {
- LwpObjectID* pID = pDoc->GetDivInfoID();
- if (!pID->IsNull())
- {
- LwpDivInfo *pInfo = dynamic_cast<LwpDivInfo*>(pID->obj(VO_DIVISIONINFO));
- if (pInfo)
- aRet = pInfo->GetDivName();
- }
- }
-
- return aRet;
-}
-
rtl::OUString LwpBulletStyleMgr::GetSectionName(LwpPara* pPara)
{
LwpObjectID* pStoryID = pPara->GetStoryID();