summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode/thints.cxx
diff options
context:
space:
mode:
authorChris Laplante <mostthingsweb@gmail.com>2014-04-21 19:28:47 -0400
committerThomas Arnhold <thomas@arnhold.org>2014-04-24 04:39:51 +0000
commitba39f1bf9b29f58b7593f01d552a4f1a42a637cb (patch)
treeab251de2ca0dbb92ab843bfa73c674adebb0ebf5 /sw/source/core/txtnode/thints.cxx
parentbff954c0c4e5f9acf18bfd9ae796bc5a937b7ff6 (diff)
Finish cleaning up ASCII art in the sw module
Change-Id: If4f11093b791902514dee8e216c92f66b075211d Reviewed-on: https://gerrit.libreoffice.org/9117 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'sw/source/core/txtnode/thints.cxx')
-rw-r--r--sw/source/core/txtnode/thints.cxx44
1 files changed, 0 insertions, 44 deletions
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index 0e4c6f649299..1d398b9aab04 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -941,10 +941,6 @@ void SwpHints::BuildPortions( SwTxtNode& rNode, SwTxtAttr& rNewHint,
rNode.DestroyAttr( &rNewHint );
}
-/*************************************************************************
- * SwTxtNode::MakeTxtAttr()
- *************************************************************************/
-
SwTxtAttr* MakeRedlineTxtAttr( SwDoc & rDoc, SfxPoolItem & rAttr )
{
// this is intended _only_ for special-purpose redline attributes!
@@ -1208,10 +1204,6 @@ void SwTxtNode::DestroyAttr( SwTxtAttr* pAttr )
}
}
-/*************************************************************************
- * SwTxtNode::Insert()
- *************************************************************************/
-
SwTxtAttr* SwTxtNode::InsertItem(
SfxPoolItem& rAttr,
const sal_Int32 nStart,
@@ -1644,10 +1636,6 @@ bool SwTxtNode::InsertHint( SwTxtAttr * const pAttr, const SetAttrMode nMode )
return bRet;
}
-/*************************************************************************
- * SwTxtNode::DeleteAttribute()
- *************************************************************************/
-
void SwTxtNode::DeleteAttribute( SwTxtAttr * const pAttr )
{
if ( !HasHints() )
@@ -1682,10 +1670,6 @@ void SwTxtNode::DeleteAttribute( SwTxtAttr * const pAttr )
}
}
-/*************************************************************************
- * SwTxtNode::DeleteAttributes()
- *************************************************************************/
-
//FIXME: this does NOT respect SORT NUMBER (for CHARFMT)!
void SwTxtNode::DeleteAttributes(
const sal_uInt16 nWhich,
@@ -1760,10 +1744,6 @@ void SwTxtNode::DeleteAttributes(
TryDeleteSwpHints();
}
-/*************************************************************************
- * SwTxtNode::DelSoftHyph()
- *************************************************************************/
-
void SwTxtNode::DelSoftHyph( const sal_Int32 nStt, const sal_Int32 nEnd )
{
sal_Int32 nFndPos = nStt;
@@ -2577,10 +2557,6 @@ void SwTxtNode::FmtToTxtAttr( SwTxtNode* pNd )
pNd->TryDeleteSwpHints();
}
-/*************************************************************************
- * SwpHints::CalcFlags()
- *************************************************************************/
-
void SwpHints::CalcFlags()
{
m_bDDEFields = m_bFootnote = false;
@@ -2610,10 +2586,6 @@ void SwpHints::CalcFlags()
}
}
-/*************************************************************************
- * SwpHints::CalcVisibleFlag()
- *************************************************************************/
-
bool SwpHints::CalcHiddenParaField()
{
m_bCalcHiddenParaField = false;
@@ -2648,19 +2620,11 @@ bool SwpHints::CalcHiddenParaField()
return bOldHasHiddenParaField != bNewHasHiddenParaField;
}
-/*************************************************************************
- * SwpHints::NoteInHistory()
- *************************************************************************/
-
void SwpHints::NoteInHistory( SwTxtAttr *pAttr, const bool bNew )
{
if ( m_pHistory ) { m_pHistory->AddHint( pAttr, bNew ); }
}
-/*************************************************************************
- * SwpHints::MergePortions( )
- *************************************************************************/
-
bool SwpHints::MergePortions( SwTxtNode& rNode )
{
if ( !Count() )
@@ -2965,10 +2929,6 @@ static void lcl_CheckSortNumber( const SwpHints& rHints, SwTxtCharFmt& rNewCharF
rNewCharFmt.SetSortNumber( nSortNumber );
}
-/*************************************************************************
- * SwpHints::Insert()
- *************************************************************************/
-
/*
* Try to insert the new hint.
* Depending on the type of the hint, this either always succeeds, or may fail.
@@ -3289,10 +3249,6 @@ bool SwpHints::TryInsertHint(
return true;
}
-/*************************************************************************
- * SwpHints::DeleteAtPos()
- *************************************************************************/
-
void SwpHints::DeleteAtPos( const sal_uInt16 nPos )
{
SwTxtAttr *pHint = GetTextHint(nPos);