summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-07-23 10:29:54 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-07-23 11:25:40 +0200
commit4e579adddf9bbcc6cf3133fb2f412fc267108ec8 (patch)
tree57eed6a903a4a20a0d73be7796a01952b87fa804 /sw/source
parent944d4eae085c098b6754ccd6a3ca88a6f45537c2 (diff)
remove obsolete SetCharBound/IsCharBound functions
Change-Id: I56e7f08178122ed37fcb4c1175770cd202d3c98d
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/doc/docbm.cxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index 3fe997540194..e1c4521bc022 100644
--- a/sw/source/core/doc/docbm.cxx
+++ b/sw/source/core/doc/docbm.cxx
@@ -1404,9 +1404,6 @@ namespace
rArr.push_back( *this );
}
- void SetCharBound( bool bCB ) { m_bOther = bCB; }
- bool IsCharBound() const { return m_bOther; }
-
void SetCount( sal_uInt16 n ) { m_nIdx = n; }
sal_uInt16 GetCount() const { return m_nIdx; }
sal_uInt16 DecCount() { return --m_nIdx; }
@@ -1450,7 +1447,7 @@ namespace
FLY_AT_PARA == rAnchor.GetAnchorId() ) ||
( FLY_AT_CHAR == rAnchor.GetAnchorId() ) ) )
{
- aSave.SetCharBound(false);
+ aSave.m_bOther = false;
aSave.SetContent( pAPos->nContent.GetIndex() );
OSL_ENSURE( nNode == pAPos->nNode.GetIndex(),
@@ -1460,7 +1457,7 @@ namespace
if( nCntnt <= aSave.GetContent() )
{
if( SAVEFLY_SPLIT == nSaveFly )
- aSave.SetCharBound(true);
+ aSave.m_bOther = true;
else
continue;
}
@@ -1495,14 +1492,14 @@ namespace
( FLY_AT_PARA == rAnchor.GetAnchorId() ||
FLY_AT_CHAR == rAnchor.GetAnchorId() ) )
{
- aSave.SetCharBound(false);
+ aSave.m_bOther = false;
aSave.SetContent( pAPos->nContent.GetIndex() );
if ( FLY_AT_CHAR == rAnchor.GetAnchorId() )
{
if( nCntnt <= aSave.GetContent() )
{
if( SAVEFLY_SPLIT == nSaveFly )
- aSave.SetCharBound(true);
+ aSave.m_bOther = true;
else
continue;
}
@@ -1528,7 +1525,7 @@ namespace
{
_SwSaveTypeCountContent aSave( rSaveArr, n );
SwPosition* pPos = 0;
- if(!aSave.IsCharBound())
+ if(!aSave.m_bOther)
{
SwFrmFmt *pFrmFmt = (*pSpz)[ aSave.GetCount() ];
const SwFmtAnchor& rFlyAnchor = pFrmFmt->GetAnchor();