diff options
author | Chris Laplante <mostthingsweb@gmail.com> | 2014-04-21 19:28:47 -0400 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-04-24 04:39:51 +0000 |
commit | ba39f1bf9b29f58b7593f01d552a4f1a42a637cb (patch) | |
tree | ab251de2ca0dbb92ab843bfa73c674adebb0ebf5 /sw/source/filter/ww8 | |
parent | bff954c0c4e5f9acf18bfd9ae796bc5a937b7ff6 (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/filter/ww8')
-rw-r--r-- | sw/source/filter/ww8/ww8par3.cxx | 5 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par6.cxx | 49 |
2 files changed, 10 insertions, 44 deletions
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx index 522e2bb6a52d..50d23948ab8f 100644 --- a/sw/source/filter/ww8/ww8par3.cxx +++ b/sw/source/filter/ww8/ww8par3.cxx @@ -314,9 +314,6 @@ void SwWW8ImplReader::DeleteFormImpl() delete pFormImpl, pFormImpl = 0; } -// WW8ListManager oeffentliche Methoden stehen ganz am Ende -//------------------------- ============ --------------- ============ -------- - // Hilfs-Deklarationen // Style Id's for each level @@ -2070,7 +2067,7 @@ void SwWW8ImplReader::Read_LFOPosition(sal_uInt16, const sal_uInt8* pData, } } -// ------------------------- Reading Controls ------------------------ +// Reading Controls bool SwWW8ImplReader::ImportFormulaControl(WW8FormulaControl &aFormula, WW8_CP nStart, SwWw8ControlType nWhich ) diff --git a/sw/source/filter/ww8/ww8par6.cxx b/sw/source/filter/ww8/ww8par6.cxx index 7d23aa54d42c..3293e75181e8 100644 --- a/sw/source/filter/ww8/ww8par6.cxx +++ b/sw/source/filter/ww8/ww8par6.cxx @@ -130,12 +130,9 @@ inline sal_uInt32 MSRoundTweak(sal_uInt32 x) return x; } -/*************************************************************************** -# Seiten - Attribute, die nicht ueber die Attribut-Verwaltung, sondern -# ueber ...->HasSprm abgearbeitet werden -# ( ausser OLST, dass weiterhin ein normales Attribut ist ) -#**************************************************************************/ - +// Seiten - Attribute, die nicht ueber die Attribut-Verwaltung, sondern +// ueber ...->HasSprm abgearbeitet werden +// ( ausser OLST, dass weiterhin ein normales Attribut ist ) static short ReadSprm( const WW8PLCFx_SEPX* pSep, sal_uInt16 nId, short nDefaultVal ) { const sal_uInt8* pS = pSep->HasSprm( nId ); // sprm da ? @@ -2549,10 +2546,6 @@ bool SwWW8ImplReader::TestSameApo(const ApoTestResults &rApo, return aF == *pWFlyPara; } -/*************************************************************************** -# Attribut - Verwaltung -#**************************************************************************/ - void SwWW8ImplReader::NewAttr( const SfxPoolItem& rAttr, const bool bFirstLineOfStSet, const bool bLeftIndentSet ) @@ -2629,17 +2622,8 @@ const SfxPoolItem* SwWW8ImplReader::GetFmtAttr( sal_uInt16 nWhich ) return pRet; } -/*************************************************************************** -# eigentliche Attribute -# -# Die Methoden erhalten die Token-Id und die Laenge der noch folgenden -# Parameter gemaess Tabelle in WWScan.cxx als Parameter -#**************************************************************************/ - -/*************************************************************************** -# Spezial WW - Attribute -#**************************************************************************/ - +// Die Methoden erhalten die Token-Id und die Laenge der noch folgenden +// Parameter gemaess Tabelle in WWScan.cxx als Parameter void SwWW8ImplReader::Read_Special(sal_uInt16, const sal_uInt8* pData, short nLen) { if( nLen < 0 ) @@ -2750,10 +2734,6 @@ SwWW8StyInf *SwWW8ImplReader::GetStyle(sal_uInt16 nColl) const return const_cast<SwWW8StyInf *>(nColl < vColl.size() ? &vColl[nColl] : 0); } -/*************************************************************************** -# Zeichen - Attribute -#**************************************************************************/ - // Read_BoldUsw fuer Italic, Bold, Kapitaelchen, Versalien, durchgestrichen, // Contour und Shadow void SwWW8ImplReader::Read_BoldUsw( sal_uInt16 nId, const sal_uInt8* pData, short nLen ) @@ -3832,10 +3812,6 @@ void SwWW8ImplReader::Read_CharHighlight(sal_uInt16, const sal_uInt8* pData, sho } } -/*************************************************************************** -# Absatz - Attribute -#**************************************************************************/ - void SwWW8ImplReader::Read_NoLineNumb(sal_uInt16 , const sal_uInt8* pData, short nLen) { if( nLen < 0 ) // Ende des Attributes @@ -4944,16 +4920,11 @@ bool SwWW8ImplReader::ParseTabPos(WW8_TablePos *pTabPos, WW8PLCFx_Cp_FKP* pPap) return bRet; } -/*************************************************************************** -# Seiten - Attribute werden nicht mehr als Attribute gehandhabt -# ( ausser OLST ) -#**************************************************************************/ - +// Seiten - Attribute werden nicht mehr als Attribute gehandhabt +// ( ausser OLST ) long SwWW8ImplReader::ImportExtSprm(WW8PLCFManResult* pRes) { - /************************************************************************* - # Arrays zum Lesen der erweiterten ( selbstdefinierten ) SPRMs - #*************************************************************************/ + // Arrays zum Lesen der erweiterten ( selbstdefinierten ) SPRMs typedef long (SwWW8ImplReader:: *FNReadRecordExt)(WW8PLCFManResult*); static const FNReadRecordExt aWwSprmTab[] = @@ -4997,9 +4968,7 @@ void SwWW8ImplReader::EndExtSprm(sal_uInt16 nSprmId) (this->*aWwSprmTab[nIdx])(); } -/*************************************************************************** -# Arrays zum Lesen der SPRMs -#**************************************************************************/ +// Arrays zum Lesen der SPRMs // Funktion zum Einlesen von Sprms. Par1: SprmId typedef void (SwWW8ImplReader:: *FNReadRecord)( sal_uInt16, const sal_uInt8*, short ); |