summaryrefslogtreecommitdiff
path: root/sw/source/core/txtnode
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/txtnode')
-rw-r--r--sw/source/core/txtnode/SwGrammarContact.cxx6
-rw-r--r--sw/source/core/txtnode/atrfld.cxx12
-rw-r--r--sw/source/core/txtnode/atrflyin.cxx8
-rw-r--r--sw/source/core/txtnode/atrftn.cxx24
-rw-r--r--sw/source/core/txtnode/atrref.cxx4
-rw-r--r--sw/source/core/txtnode/atrtox.cxx2
-rw-r--r--sw/source/core/txtnode/chrfmt.cxx4
-rw-r--r--sw/source/core/txtnode/fmtatr2.cxx12
-rw-r--r--sw/source/core/txtnode/fntcache.cxx62
-rw-r--r--sw/source/core/txtnode/fntcap.cxx38
-rw-r--r--sw/source/core/txtnode/modeltoviewhelper.cxx6
-rw-r--r--sw/source/core/txtnode/ndhints.cxx4
-rw-r--r--sw/source/core/txtnode/ndtxt.cxx128
-rw-r--r--sw/source/core/txtnode/swfntcch.cxx14
-rw-r--r--sw/source/core/txtnode/swfont.cxx40
-rw-r--r--sw/source/core/txtnode/thints.cxx66
-rw-r--r--sw/source/core/txtnode/txatbase.cxx2
-rw-r--r--sw/source/core/txtnode/txatritr.cxx4
-rw-r--r--sw/source/core/txtnode/txtatr2.cxx16
-rw-r--r--sw/source/core/txtnode/txtedt.cxx32
20 files changed, 242 insertions, 242 deletions
diff --git a/sw/source/core/txtnode/SwGrammarContact.cxx b/sw/source/core/txtnode/SwGrammarContact.cxx
index a9ee7f529cdb..5425db5bb119 100644
--- a/sw/source/core/txtnode/SwGrammarContact.cxx
+++ b/sw/source/core/txtnode/SwGrammarContact.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -61,7 +61,7 @@ class SwGrammarContact : public IGrammarContact, public SwClient
bool mbFinished;
SwTxtNode* getMyTxtNode() { return (SwTxtNode*)pRegisteredIn; }
DECL_LINK( TimerRepaint, Timer * );
-
+
public:
SwGrammarContact();
~SwGrammarContact() { aTimer.Stop(); delete mpProxyList; }
@@ -210,7 +210,7 @@ void repaintTextFrames( SwModify& rModify )
ViewShell *pCurShell = pRootFrm ? pRootFrm->GetCurrShell() : NULL;
if( pCurShell )
pCurShell->InvalidateWindows( aRec );
- }
+ }
}
void finishGrammarCheck( SwTxtNode& rTxtNode )
diff --git a/sw/source/core/txtnode/atrfld.cxx b/sw/source/core/txtnode/atrfld.cxx
index 843705204a21..ab654abeb7e6 100644
--- a/sw/source/core/txtnode/atrfld.cxx
+++ b/sw/source/core/txtnode/atrfld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -94,7 +94,7 @@ SwFmtFld::~SwFmtFld()
SwFieldType* pType = pField ? pField->GetTyp() : 0;
if (pType && pType->Which() == RES_DBFLD)
- pType = 0; // DB-Feldtypen zerstoeren sich selbst
+ pType = 0; // DB-Feldtypen zerstoeren sich selbst
Broadcast( SwFmtFldHint( this, SWFMTFLD_REMOVED ) );
delete pField;
@@ -256,7 +256,7 @@ BOOL SwFmtFld::IsProtect() const
|*
|* Beschreibung Attribut fuer automatischen Text, Ctor
|* Ersterstellung BP 30.04.92
-|* Letzte Aenderung JP 15.08.94
+|* Letzte Aenderung JP 15.08.94
|*
*************************************************************************/
@@ -285,7 +285,7 @@ SwTxtFld::~SwTxtFld( )
|*
|* Beschreibung exandiert das Feld und tauscht den Text im Node
|* Ersterstellung BP 30.04.92
-|* Letzte Aenderung JP 15.08.94
+|* Letzte Aenderung JP 15.08.94
|*
*************************************************************************/
@@ -313,7 +313,7 @@ void SwTxtFld::Expand() const
{
// BP: das muesste man noch optimieren!
//JP 12.06.97: stimmt, man sollte auf jedenfall eine Status-
- // aenderung an die Frames posten
+ // aenderung an die Frames posten
if( m_pTxtNode->CalcHiddenParaField() )
{
m_pTxtNode->Modify( 0, 0 );
@@ -382,7 +382,7 @@ void SwTxtFld::CopyFld( SwTxtFld *pDest ) const
{
// erzeuge aus der internen (fuer CORE) die externe (fuer UI) Formel
const SwTableNode* pTblNd = m_pTxtNode->FindTableNode();
- if( pTblNd ) // steht in einer Tabelle
+ if( pTblNd ) // steht in einer Tabelle
((SwTblField*)rFmtFld.GetFld())->PtrToBoxNm( &pTblNd->GetTable() );
}
}
diff --git a/sw/source/core/txtnode/atrflyin.cxx b/sw/source/core/txtnode/atrflyin.cxx
index bd765b43e937..7bc2ab4c1440 100644
--- a/sw/source/core/txtnode/atrflyin.cxx
+++ b/sw/source/core/txtnode/atrflyin.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -126,8 +126,8 @@ void SwTxtFlyCnt::CopyFlyFmt( SwDoc* pDoc )
(pDoc != pFmt->GetDoc())) // different documents?
{
// JP 03.06.96: dann sorge dafuer, das der koperierte Anker auf
- // gueltigen Content zeigt! Die Umsetzung auf die
- // richtige Position erfolgt spaeter.
+ // gueltigen Content zeigt! Die Umsetzung auf die
+ // richtige Position erfolgt spaeter.
SwNodeIndex aIdx( pDoc->GetNodes().GetEndOfExtras(), +2 );
SwCntntNode* pCNd = aIdx.GetNode().GetCntntNode();
if( !pCNd )
@@ -186,7 +186,7 @@ void SwTxtFlyCnt::SetAnchor( const SwTxtNode *pNode )
// beim Ankerwechsel werden immer alle FlyFrms vom Attribut geloescht
// JP 25.04.95: wird innerhalb des SplitNodes die Frames verschoben
- // koennen die Frames erhalten bleiben.
+ // koennen die Frames erhalten bleiben.
if( ( !pNode->GetpSwpHints() || !pNode->GetpSwpHints()->IsInSplitNode() )
&& RES_DRAWFRMFMT != pFmt->Which() )
pFmt->DelFrms();
diff --git a/sw/source/core/txtnode/atrftn.cxx b/sw/source/core/txtnode/atrftn.cxx
index d9be255d1d02..f1c243d7c043 100644
--- a/sw/source/core/txtnode/atrftn.cxx
+++ b/sw/source/core/txtnode/atrftn.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,17 +72,17 @@ SwFmtFtn::SwFmtFtn( bool bEndNote )
int SwFmtFtn::operator==( const SfxPoolItem& rAttr ) const
{
OSL_ENSURE( SfxPoolItem::operator==( rAttr ), "keine gleichen Attribute" );
- return nNumber == ((SwFmtFtn&)rAttr).nNumber &&
- aNumber == ((SwFmtFtn&)rAttr).aNumber &&
+ return nNumber == ((SwFmtFtn&)rAttr).nNumber &&
+ aNumber == ((SwFmtFtn&)rAttr).aNumber &&
m_bEndNote == ((SwFmtFtn&)rAttr).m_bEndNote;
}
SfxPoolItem* SwFmtFtn::Clone( SfxItemPool* ) const
{
- SwFmtFtn* pNew = new SwFmtFtn;
- pNew->aNumber = aNumber;
- pNew->nNumber = nNumber;
+ SwFmtFtn* pNew = new SwFmtFtn;
+ pNew->aNumber = aNumber;
+ pNew->nNumber = nNumber;
pNew->m_bEndNote = m_bEndNote;
return pNew;
}
@@ -170,7 +170,7 @@ XubString SwFmtFtn::GetViewNumStr( const SwDoc& rDoc, BOOL bInclStrings ) const
}
/*************************************************************************
- * class SwTxt/FmtFnt
+ * class SwTxt/FmtFnt
*************************************************************************/
SwTxtFtn::SwTxtFtn( SwFmtFtn& rAttr, xub_StrLen nStartPos )
@@ -217,10 +217,10 @@ void SwTxtFtn::SetStartNode( const SwNodeIndex *pNewNode, BOOL bDelNode )
else
{
//JP 27.01.97: der sw3-Reader setzt einen StartNode aber das
- // Attribut ist noch nicht im TextNode verankert.
- // Wird es geloescht (z.B. bei Datei einfuegen mit
- // Ftn in einen Rahmen), muss auch der Inhalt
- // geloescht werden
+ // Attribut ist noch nicht im TextNode verankert.
+ // Wird es geloescht (z.B. bei Datei einfuegen mit
+ // Ftn in einen Rahmen), muss auch der Inhalt
+ // geloescht werden
pDoc = m_pStartNode->GetNodes().GetDoc();
}
@@ -385,7 +385,7 @@ void SwTxtFtn::DelFrms()
}
}
//JP 13.05.97: falls das Layout vorm loeschen der Fussnoten entfernt
- // wird, sollte man das ueber die Fussnote selbst tun
+ // wird, sollte man das ueber die Fussnote selbst tun
if ( !bFrmFnd && m_pStartNode )
{
SwNodeIndex aIdx( *m_pStartNode );
diff --git a/sw/source/core/txtnode/atrref.cxx b/sw/source/core/txtnode/atrref.cxx
index b9c66e4b782f..f6e40747bb71 100644
--- a/sw/source/core/txtnode/atrref.cxx
+++ b/sw/source/core/txtnode/atrref.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -72,7 +72,7 @@ SfxPoolItem* SwFmtRefMark::Clone( SfxItemPool* ) const
}
/*************************************************************************
- * class SwTxtRefMark
+ * class SwTxtRefMark
*************************************************************************/
// Attribut fuer Inhalts-/Positions-Referenzen im Text
diff --git a/sw/source/core/txtnode/atrtox.cxx b/sw/source/core/txtnode/atrtox.cxx
index 31820ab10978..ffbef0c517a9 100644
--- a/sw/source/core/txtnode/atrtox.cxx
+++ b/sw/source/core/txtnode/atrtox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/txtnode/chrfmt.cxx b/sw/source/core/txtnode/chrfmt.cxx
index 71d7e48f6d74..90332e45bff3 100644
--- a/sw/source/core/txtnode/chrfmt.cxx
+++ b/sw/source/core/txtnode/chrfmt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -33,7 +33,7 @@
#include <charfmt.hxx>
-TYPEINIT1( SwCharFmt, SwFmt ); //rtti fuer SwCharFmt
+TYPEINIT1( SwCharFmt, SwFmt ); //rtti fuer SwCharFmt
diff --git a/sw/source/core/txtnode/fmtatr2.cxx b/sw/source/core/txtnode/fmtatr2.cxx
index 2d27ec119286..7830b0ea78b6 100644
--- a/sw/source/core/txtnode/fmtatr2.cxx
+++ b/sw/source/core/txtnode/fmtatr2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -44,7 +44,7 @@
#include <charfmt.hxx>
#include <hints.hxx> // SwUpdateAttr
#include <unostyle.hxx>
-#include <unoevent.hxx> // SwHyperlinkEventDescriptor
+#include <unoevent.hxx> // SwHyperlinkEventDescriptor
#include <com/sun/star/text/RubyAdjust.hdl>
#include <cmdid.h>
@@ -273,7 +273,7 @@ int SwFmtINetFmt::operator==( const SfxPoolItem& rAttr ) const
{
const SvxMacro *pOwnMac = rOwn.GetObject(nNo);
const SvxMacro *pOtherMac = rOther.GetObject(nNo);
- if ( rOwn.GetKey(pOwnMac) != rOther.GetKey(pOtherMac) ||
+ if ( rOwn.GetKey(pOwnMac) != rOther.GetKey(pOtherMac) ||
pOwnMac->GetLibName() != pOtherMac->GetLibName() ||
pOwnMac->GetMacName() != pOtherMac->GetMacName() )
return FALSE;
@@ -438,7 +438,7 @@ bool SwFmtINetFmt::PutValue( const uno::Any& rVal, BYTE nMemberId )
String aString;
SwStyleNameMapper::FillUIName( sVal, aString, nsSwGetPoolIdFromName::GET_POOLID_CHRFMT, sal_True );
aINetFmt = OUString ( aString );
- nINetId = SwStyleNameMapper::GetPoolIdFromUIName( aINetFmt, nsSwGetPoolIdFromName::GET_POOLID_CHRFMT );
+ nINetId = SwStyleNameMapper::GetPoolIdFromUIName( aINetFmt, nsSwGetPoolIdFromName::GET_POOLID_CHRFMT );
}
break;
default:
@@ -511,8 +511,8 @@ bool SwFmtRuby::QueryValue( uno::Any& rVal,
nMemberId &= ~CONVERT_TWIPS;
switch( nMemberId )
{
- case MID_RUBY_TEXT: rVal <<= (OUString)sRubyTxt; break;
- case MID_RUBY_ADJUST: rVal <<= (sal_Int16)nAdjustment; break;
+ case MID_RUBY_TEXT: rVal <<= (OUString)sRubyTxt; break;
+ case MID_RUBY_ADJUST: rVal <<= (sal_Int16)nAdjustment; break;
case MID_RUBY_CHARSTYLE:
{
String aString;
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index 8296d7c7822d..69b993fc44bd 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,8 +39,8 @@
#include <com/sun/star/i18n/CharacterIteratorMode.hdl>
#include <com/sun/star/i18n/WordType.hdl>
#include <breakit.hxx>
-#include <viewsh.hxx> // Bildschirmabgleich
-#include <viewopt.hxx> // Bildschirmabgleich abschalten, ViewOption
+#include <viewsh.hxx> // Bildschirmabgleich
+#include <viewopt.hxx> // Bildschirmabgleich abschalten, ViewOption
#include <fntcache.hxx>
#include <IDocumentSettingAccess.hxx>
#include <swfont.hxx> // CH_BLANK + CH_BULLET
@@ -95,10 +95,10 @@ USHORT GetDefaultFontHeight( SwDrawTextInfo &rInf )
/*************************************************************************
|*
-|* SwFntCache::Flush()
+|* SwFntCache::Flush()
|*
-|* Ersterstellung AMA 16. Dez. 94
-|* Letzte Aenderung AMA 16. Dez. 94
+|* Ersterstellung AMA 16. Dez. 94
+|* Letzte Aenderung AMA 16. Dez. 94
|*
|*************************************************************************/
@@ -114,10 +114,10 @@ void SwFntCache::Flush( )
/*************************************************************************
|*
-|* SwFntObj::SwFntObj(), ~SwFntObj()
+|* SwFntObj::SwFntObj(), ~SwFntObj()
|*
-|* Ersterstellung AMA 7. Nov. 94
-|* Letzte Aenderung AMA 7. Nov. 94
+|* Ersterstellung AMA 7. Nov. 94
+|* Letzte Aenderung AMA 7. Nov. 94
|*
|*************************************************************************/
@@ -292,11 +292,11 @@ void lcl_calcLinePos( const CalcLinePosData &rData,
*
* USHORT SwFntObj::GetFontAscent( const OutputDevice& rOut )
*
- * Ersterstellung AMA 7. Nov. 94
- * Letzte Aenderung AMA 7. Nov. 94
+ * Ersterstellung AMA 7. Nov. 94
+ * Letzte Aenderung AMA 7. Nov. 94
*
* Beschreibung: liefern den Ascent des Fonts auf dem
- * gewuenschten Outputdevice zurueck, ggf. muss der Bildschirmfont erst
+ * gewuenschten Outputdevice zurueck, ggf. muss der Bildschirmfont erst
* erzeugt werden.
*************************************************************************/
@@ -424,8 +424,8 @@ USHORT SwFntObj::GetFontLeading( const ViewShell *pSh, const OutputDevice& rOut
*
* SwFntObj::CreateScrFont( const ViewShell& rSh, const OutputDevice& rOut )
*
- * Ersterstellung AMA 7. Nov. 94
- * Letzte Aenderung AMA 7. Nov. 94
+ * Ersterstellung AMA 7. Nov. 94
+ * Letzte Aenderung AMA 7. Nov. 94
*
* pOut is the output device, not the reference device
*
@@ -601,10 +601,10 @@ void SwFntObj::GuessLeading( const ViewShell&
/*************************************************************************
*
- * void SwFntObj::SetDeviceFont( const OutputDevice *pOut ),
+ * void SwFntObj::SetDeviceFont( const OutputDevice *pOut ),
*
- * Ersterstellung AMA 7. Nov. 94
- * Letzte Aenderung AMA 7. Nov. 94
+ * Ersterstellung AMA 7. Nov. 94
+ * Letzte Aenderung AMA 7. Nov. 94
*
* Beschreibung: stellt den Font am gewuenschten OutputDevice ein,
* am Bildschirm muss eventuell erst den Abgleich durchgefuehrt werden.
@@ -643,13 +643,13 @@ void SwFntObj::SetDevFont( const ViewShell *pSh, OutputDevice& rOut )
*
* void SwFntObj::DrawText( ... )
*
- * Ersterstellung AMA 16. Dez. 94
- * Letzte Aenderung AMA 16. Dez. 94
+ * Ersterstellung AMA 16. Dez. 94
+ * Letzte Aenderung AMA 16. Dez. 94
*
* Beschreibung: Textausgabe
- * auf dem Bildschirm => DrawTextArray
- * auf dem Drucker, !Kerning => DrawText
- * auf dem Drucker + Kerning => DrawStretchText
+ * auf dem Bildschirm => DrawTextArray
+ * auf dem Drucker, !Kerning => DrawText
+ * auf dem Drucker + Kerning => DrawStretchText
*
*************************************************************************/
@@ -1866,11 +1866,11 @@ void SwFntObj::DrawText( SwDrawTextInfo &rInf )
/*************************************************************************
*
- * Size SwFntObj::GetTextSize( const OutputDevice *pOut, const String &rTxt,
- * const USHORT nIdx, const USHORT nLen, const short nKern = 0 );
+ * Size SwFntObj::GetTextSize( const OutputDevice *pOut, const String &rTxt,
+ * const USHORT nIdx, const USHORT nLen, const short nKern = 0 );
*
- * Ersterstellung AMA 16. Dez. 94
- * Letzte Aenderung AMA 16. Dez. 94
+ * Ersterstellung AMA 16. Dez. 94
+ * Letzte Aenderung AMA 16. Dez. 94
*
* Beschreibung: ermittelt die TextSize (des Druckers)
*
@@ -1973,7 +1973,7 @@ Size SwFntObj::GetTextSize( SwDrawTextInfo& rInf )
rInf.GetScriptInfo()->CountCompChg() &&
lcl_IsMonoSpaceFont( rInf.GetOut() );
- OSL_ENSURE( !bCompress || ( rInf.GetScriptInfo() && rInf.GetScriptInfo()->
+ OSL_ENSURE( !bCompress || ( rInf.GetScriptInfo() && rInf.GetScriptInfo()->
CountCompChg()), "Compression without info" );
// This is the part used e.g., for cursor travelling
@@ -2295,10 +2295,10 @@ xub_StrLen SwFntObj::GetCrsrOfst( SwDrawTextInfo &rInf )
/*************************************************************************
|*
-|* SwFntAccess::SwFntAccess()
+|* SwFntAccess::SwFntAccess()
|*
-|* Ersterstellung AMA 9. Nov. 94
-|* Letzte Aenderung AMA 9. Nov. 94
+|* Ersterstellung AMA 9. Nov. 94
+|* Letzte Aenderung AMA 9. Nov. 94
|*
|*************************************************************************/
@@ -2345,7 +2345,7 @@ SwFntAccess::SwFntAccess( const void* &rMagic,
((SwSubFont*)pOwn)->GetPropWidth() )
return; // Die Ueberpruefung ergab: Drucker+Zoom okay.
pFntObj->Unlock( ); // Vergiss dies Objekt, es wurde leider
- pObj = NULL; // eine Drucker/Zoomaenderung festgestellt.
+ pObj = NULL; // eine Drucker/Zoomaenderung festgestellt.
}
// Search by font comparison, quite expensive!
diff --git a/sw/source/core/txtnode/fntcap.cxx b/sw/source/core/txtnode/fntcap.cxx
index 38d69deb2c63..fb8025fd5faf 100644
--- a/sw/source/core/txtnode/fntcap.cxx
+++ b/sw/source/core/txtnode/fntcap.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -51,7 +51,7 @@ using namespace ::com::sun::star::i18n;
#define KAPITAELCHENPROP 80
/*************************************************************************
- * class SwCapitalInfo
+ * class SwCapitalInfo
*
* The information encapsulated in SwCapitalInfo is required
* by the ::Do functions. They contain the information about
@@ -70,7 +70,7 @@ public:
};
/*************************************************************************
- * xub_StrLen lcl_CalcCaseMap()
+ * xub_StrLen lcl_CalcCaseMap()
*
* rFnt: required for CalcCaseMap
* rOrigString: The original string
@@ -114,7 +114,7 @@ xub_StrLen lcl_CalcCaseMap( const SwFont& rFnt,
}
/*************************************************************************
- * class SwDoCapitals
+ * class SwDoCapitals
*************************************************************************/
class SwDoCapitals
@@ -134,7 +134,7 @@ public:
};
/*************************************************************************
- * class SwDoGetCapitalSize
+ * class SwDoGetCapitalSize
*************************************************************************/
class SwDoGetCapitalSize : public SwDoCapitals
@@ -162,7 +162,7 @@ void SwDoGetCapitalSize::Do()
}
/*************************************************************************
- * SwSubFont::GetCapitalSize()
+ * SwSubFont::GetCapitalSize()
*************************************************************************/
Size SwSubFont::GetCapitalSize( SwDrawTextInfo& rInf )
@@ -189,7 +189,7 @@ Size SwSubFont::GetCapitalSize( SwDrawTextInfo& rInf )
}
/*************************************************************************
- * class SwDoGetCapitalBreak
+ * class SwDoGetCapitalBreak
*************************************************************************/
class SwDoGetCapitalBreak : public SwDoCapitals
@@ -254,12 +254,12 @@ void SwDoGetCapitalBreak::Do()
}
/*************************************************************************
- * SwFont::GetCapitalBreak()
+ * SwFont::GetCapitalBreak()
*************************************************************************/
xub_StrLen SwFont::GetCapitalBreak( ViewShell* pSh, const OutputDevice* pOut,
const SwScriptInfo* pScript, const XubString& rTxt, long nTextWidth,
- xub_StrLen *pExtra, const xub_StrLen nIdx, const xub_StrLen nLen )
+ xub_StrLen *pExtra, const xub_StrLen nIdx, const xub_StrLen nLen )
{
// Start:
Point aPos( 0, 0 );
@@ -281,7 +281,7 @@ xub_StrLen SwFont::GetCapitalBreak( ViewShell* pSh, const OutputDevice* pOut,
}
/*************************************************************************
- * class SwDoDrawCapital
+ * class SwDoDrawCapital
*************************************************************************/
class SwDoDrawCapital : public SwDoCapitals
@@ -325,7 +325,7 @@ void SwDoDrawCapital::Do()
}
/*************************************************************************
- * SwDoDrawCapital::DrawSpace()
+ * SwDoDrawCapital::DrawSpace()
*************************************************************************/
void SwDoDrawCapital::DrawSpace( Point &rPos )
@@ -362,7 +362,7 @@ void SwDoDrawCapital::DrawSpace( Point &rPos )
}
/*************************************************************************
- * SwSubFont::DrawCapital()
+ * SwSubFont::DrawCapital()
*************************************************************************/
void SwSubFont::DrawCapital( SwDrawTextInfo &rInf )
@@ -377,7 +377,7 @@ void SwSubFont::DrawCapital( SwDrawTextInfo &rInf )
}
/*************************************************************************
- * class SwDoDrawCapital
+ * class SwDoDrawCapital
*************************************************************************/
class SwDoCapitalCrsrOfst : public SwDoCapitals
@@ -442,7 +442,7 @@ void SwDoCapitalCrsrOfst::Do()
}
/*************************************************************************
- * SwSubFont::GetCapitalCrsrOfst()
+ * SwSubFont::GetCapitalCrsrOfst()
*************************************************************************/
xub_StrLen SwSubFont::GetCapitalCrsrOfst( SwDrawTextInfo& rInf )
@@ -459,7 +459,7 @@ xub_StrLen SwSubFont::GetCapitalCrsrOfst( SwDrawTextInfo& rInf )
}
/*************************************************************************
- * class SwDoDrawStretchCapital
+ * class SwDoDrawStretchCapital
*************************************************************************/
class SwDoDrawStretchCapital : public SwDoDrawCapital
@@ -479,7 +479,7 @@ public:
};
/*************************************************************************
- * SwDoDrawStretchCapital
+ * SwDoDrawStretchCapital
*************************************************************************/
void SwDoDrawStretchCapital::Do()
@@ -524,7 +524,7 @@ void SwDoDrawStretchCapital::Do()
}
/*************************************************************************
- * SwSubFont::DrawStretchCapital()
+ * SwSubFont::DrawStretchCapital()
*************************************************************************/
void SwSubFont::DrawStretchCapital( SwDrawTextInfo &rInf )
@@ -547,7 +547,7 @@ void SwSubFont::DrawStretchCapital( SwDrawTextInfo &rInf )
}
/*************************************************************************
- * SwSubFont::DoOnCapitals() const
+ * SwSubFont::DoOnCapitals() const
*************************************************************************/
// JP 22.8.2001 - global optimization off - Bug 91245 / 91223
@@ -832,7 +832,7 @@ void SwSubFont::DoOnCapitals( SwDoCapitals &rDo )
if ( bWordWise )
delete pSpaceFontAccess;
}
- pLastFont = pOldLast;
+ pLastFont = pOldLast;
pLastFont->SetDevFont( rDo.GetInf().GetShell(), rDo.GetOut() );
delete pSmallFontAccess;
diff --git a/sw/source/core/txtnode/modeltoviewhelper.cxx b/sw/source/core/txtnode/modeltoviewhelper.cxx
index 8d4940b1ec67..67687d27d497 100644
--- a/sw/source/core/txtnode/modeltoviewhelper.cxx
+++ b/sw/source/core/txtnode/modeltoviewhelper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -32,7 +32,7 @@
namespace ModelToViewHelper
{
-
+
/** Converts a model position into a view position
*/
sal_uInt32 ConvertToViewPosition( const ConversionMap* pMap, sal_uInt32 nModelPos )
@@ -59,7 +59,7 @@ sal_uInt32 ConvertToViewPosition( const ConversionMap* pMap, sal_uInt32 nModelPo
return nRet;
}
-
+
/** Converts a view position into a model position
*/
diff --git a/sw/source/core/txtnode/ndhints.cxx b/sw/source/core/txtnode/ndhints.cxx
index 48293a96584f..9a76e6ffa92c 100644
--- a/sw/source/core/txtnode/ndhints.cxx
+++ b/sw/source/core/txtnode/ndhints.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -96,7 +96,7 @@ inline BOOL IsEqual( const SwTxtAttr &rHt1, const SwTxtAttr &rHt2 )
// unser SEEK_PTR_TO_OBJECT_NOTL( name,ArrElement )
// Sortierreihenfolge: Start, Ende (umgekehrt!), Which-Wert (umgekehrt!),
-// als letztes die Adresse selbst
+// als letztes die Adresse selbst
static BOOL lcl_IsLessStart( const SwTxtAttr &rHt1, const SwTxtAttr &rHt2 )
{
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index a242e6cd8633..62caad92a37b 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -64,7 +64,7 @@
#include <ndtxt.hxx>
#include <doc.hxx>
#include <docary.hxx>
-#include <pam.hxx> // fuer SwPosition
+#include <pam.hxx> // fuer SwPosition
#include <fldbas.hxx>
#include <errhdl.hxx>
#include <paratr.hxx>
@@ -72,9 +72,9 @@
#include <ftnfrm.hxx>
#include <ftnboss.hxx>
#include <rootfrm.hxx>
-#include <pagedesc.hxx> // fuer SwPageDesc
-#include <expfld.hxx> // fuer SwTblField
-#include <section.hxx> // fuer SwSection
+#include <pagedesc.hxx> // fuer SwPageDesc
+#include <expfld.hxx> // fuer SwTblField
+#include <section.hxx> // fuer SwSection
#include <mvsave.hxx>
#include <swcache.hxx>
#include <SwGrammarMarkUp.hxx>
@@ -180,7 +180,7 @@ SwTxtNode *SwNodes::MakeTxtNode( const SwNodeIndex & rWhere,
if( !GoPrevSection( &aTmp, TRUE, FALSE ) ||
aTmp.GetNode().FindTableNode() !=
pNode->FindTableNode() )
- return pNode; // schade, das wars
+ return pNode; // schade, das wars
}
else
aTmp = *pNd->StartOfSectionNode();
@@ -284,7 +284,7 @@ xub_StrLen SwTxtNode::Len() const
/*---------------------------------------------------------------------------
* lcl_ChangeFtnRef
- * After a split node, it's necessary to actualize the ref-pointer of the
+ * After a split node, it's necessary to actualize the ref-pointer of the
* ftnfrms.
* --------------------------------------------------------------------------*/
@@ -395,11 +395,11 @@ SwCntntNode *SwTxtNode::SplitCntntNode( const SwPosition &rPos )
if ( GetDepends() && m_Text.Len() && (nTxtLen / 2) < nSplitPos )
{
// JP 25.04.95: Optimierung fuer SplitNode:
-// Wird am Ende vom Node gesplittet, dann verschiebe die
-// Frames vom akt. auf den neuen und erzeuge fuer den akt.
-// neue. Dadurch entfaellt das neu aufbauen vom Layout.
+// Wird am Ende vom Node gesplittet, dann verschiebe die
+// Frames vom akt. auf den neuen und erzeuge fuer den akt.
+// neue. Dadurch entfaellt das neu aufbauen vom Layout.
- LockModify(); // Benachrichtigungen abschalten
+ LockModify(); // Benachrichtigungen abschalten
// werden FlyFrames mit verschoben, so muessen diese nicht ihre
// Frames zerstoeren. Im SwTxtFly::SetAnchor wird es abgefragt!
@@ -449,7 +449,7 @@ SwCntntNode *SwTxtNode::SplitCntntNode( const SwPosition &rPos )
// alle zeichengebundenen Rahmen, die im neuen Absatz laden
// muessen aus den alten Frame entfernt werden:
// JP 01.10.96: alle leeren und nicht zu expandierenden
- // Attribute loeschen
+ // Attribute loeschen
if ( HasHints() )
{
for ( USHORT j = m_pSwpHints->Count(); j; )
@@ -497,7 +497,7 @@ SwCntntNode *SwTxtNode::SplitCntntNode( const SwPosition &rPos )
SetInCache( FALSE );
}
- UnlockModify(); // Benachrichtigungen wieder freischalten
+ UnlockModify(); // Benachrichtigungen wieder freischalten
const SwRootFrm * const pRootFrm = pNode->GetDoc()->GetRootFrm();
// If there is an accessible layout we must call modify even
@@ -523,7 +523,7 @@ SwCntntNode *SwTxtNode::SplitCntntNode( const SwPosition &rPos )
{
MoveTxtAttr_To_AttrSet();
}
- pNode->MakeFrms( *this ); // neue Frames anlegen.
+ pNode->MakeFrms( *this ); // neue Frames anlegen.
lcl_ChangeFtnRef( *this );
}
else
@@ -547,7 +547,7 @@ SwCntntNode *SwTxtNode::SplitCntntNode( const SwPosition &rPos )
CutText( pNode, aIdx, nSplitPos );
// JP 01.10.96: alle leeren und nicht zu expandierenden
- // Attribute loeschen
+ // Attribute loeschen
if ( HasHints() )
{
for ( USHORT j = m_pSwpHints->Count(); j; )
@@ -585,7 +585,7 @@ SwCntntNode *SwTxtNode::SplitCntntNode( const SwPosition &rPos )
if ( GetDepends() )
{
- MakeFrms( *pNode ); // neue Frames anlegen.
+ MakeFrms( *pNode ); // neue Frames anlegen.
}
lcl_ChangeFtnRef( *pNode );
}
@@ -1257,7 +1257,7 @@ SwTxtNode::GetTxtAttrAt(xub_StrLen const nIndex, RES_TXTATR const nWhich,
}
/*************************************************************************
- * CopyHint()
+ * CopyHint()
*************************************************************************/
SwCharFmt* lcl_FindCharFmt( const SwCharFmts* pCharFmts, const XubString& rName )
@@ -1371,8 +1371,8 @@ void lcl_CopyHint( const USHORT nWhich, const SwTxtAttr * const pHt,
}
}
//JP 24.04.98: Bug 49753 - ein TextNode muss am Attribut
- // gesetzt sein, damit die Vorlagen erzeugt
- // werden koenne
+ // gesetzt sein, damit die Vorlagen erzeugt
+ // werden koenne
SwTxtINetFmt* const pINetHt = static_cast<SwTxtINetFmt*>(pNewHt);
if ( !pINetHt->GetpTxtNode() )
{
@@ -1399,12 +1399,12 @@ void lcl_CopyHint( const USHORT nWhich, const SwTxtAttr * const pHt,
}
/*************************************************************************
-|* SwTxtNode::CopyAttr()
-|* Beschreibung kopiert Attribute an der Position nStart in pDest.
-|* BP 7.6.93: Es werden mit Absicht nur die Attribute _mit_ EndIdx
-|* kopiert! CopyAttr wird vornehmlich dann gerufen,
-|* wenn Attribute fuer einen Node mit leerem String
-|* gesetzt werden sollen.
+|* SwTxtNode::CopyAttr()
+|* Beschreibung kopiert Attribute an der Position nStart in pDest.
+|* BP 7.6.93: Es werden mit Absicht nur die Attribute _mit_ EndIdx
+|* kopiert! CopyAttr wird vornehmlich dann gerufen,
+|* wenn Attribute fuer einen Node mit leerem String
+|* gesetzt werden sollen.
*************************************************************************/
void SwTxtNode::CopyAttr( SwTxtNode *pDest, const xub_StrLen nTxtStartIdx,
@@ -1420,7 +1420,7 @@ void SwTxtNode::CopyAttr( SwTxtNode *pDest, const xub_StrLen nTxtStartIdx,
SwTxtAttr *const pHt = m_pSwpHints->GetTextHint(i);
xub_StrLen const nAttrStartIdx = *pHt->GetStart();
if ( nTxtStartIdx < nAttrStartIdx )
- break; // ueber das Textende, da nLen == 0
+ break; // ueber das Textende, da nLen == 0
const xub_StrLen *const pEndIdx = pHt->GetEnd();
if ( pEndIdx && !pHt->HasDummyChar() )
@@ -1461,9 +1461,9 @@ void SwTxtNode::CopyAttr( SwTxtNode *pDest, const xub_StrLen nTxtStartIdx,
}
/*************************************************************************
-|* SwTxtNode::Copy()
-|* Beschreibung kopiert Zeichen und Attibute in pDest,
-|* wird angehaengt
+|* SwTxtNode::Copy()
+|* Beschreibung kopiert Zeichen und Attibute in pDest,
+|* wird angehaengt
*************************************************************************/
// --> OD 2008-11-18 #i96213#
@@ -1486,7 +1486,7 @@ void SwTxtNode::CopyText( SwTxtNode *const pDest,
const bool bForceCopyOfAllAttrs )
{
xub_StrLen nTxtStartIdx = rStart.GetIndex();
- xub_StrLen nDestStart = rDestStart.GetIndex(); // alte Pos merken
+ xub_StrLen nDestStart = rDestStart.GetIndex(); // alte Pos merken
if (pDest->GetDoc()->IsClipBoard() && this->GetNum())
{
@@ -1535,8 +1535,8 @@ void SwTxtNode::CopyText( SwTxtNode *const pDest,
// 1. Text kopieren
const xub_StrLen oldLen = pDest->m_Text.Len();
//JP 15.02.96: Bug 25537 - Attributbehandlung am Ende fehlt! Darum
- // ueber die InsertMethode den Text einfuegen und nicht
- // selbst direkt
+ // ueber die InsertMethode den Text einfuegen und nicht
+ // selbst direkt
pDest->InsertText( m_Text.Copy( nTxtStartIdx, nLen ), rDestStart,
IDocumentContentOperations::INS_EMPTYEXPAND );
@@ -1610,11 +1610,11 @@ void SwTxtNode::CopyText( SwTxtNode *const pDest,
const USHORT nWhich = pHt->Which();
// JP 26.04.94: REFMARK's werden nie kopiert. Hat das Refmark aber
- // keinen Bereich umspannt, so steht im Text ein 255
- // dieses muss entfernt werden. Trick: erst kopieren,
- // erkennen und sammeln, nach dem kopieren Loeschen.
- // Nimmt sein Zeichen mit ins Grab !!
- // JP 14.08.95: Duerfen RefMarks gemovt werden?
+ // keinen Bereich umspannt, so steht im Text ein 255
+ // dieses muss entfernt werden. Trick: erst kopieren,
+ // erkennen und sammeln, nach dem kopieren Loeschen.
+ // Nimmt sein Zeichen mit ins Grab !!
+ // JP 14.08.95: Duerfen RefMarks gemovt werden?
int bCopyRefMark = RES_TXTATR_REFMARK == nWhich && ( bUndoNodes ||
(!pOtherDoc ? GetDoc()->IsCopyIsMove()
: 0 == pOtherDoc->GetRefMark(
@@ -1825,11 +1825,11 @@ void SwTxtNode::InsertText( const XubString & rStr, const SwIndex & rIdx,
/*************************************************************************
|*
-|* SwTxtNode::Cut()
+|* SwTxtNode::Cut()
|*
-|* Beschreibung text.doc
-|* Ersterstellung VB 20.03.91
-|* Letzte Aenderung JP 11.08.94
+|* Beschreibung text.doc
+|* Ersterstellung VB 20.03.91
+|* Letzte Aenderung JP 11.08.94
|*
*************************************************************************/
@@ -1880,7 +1880,7 @@ void SwTxtNode::CutImpl( SwTxtNode * const pDest, const SwIndex & rDestStart,
}
xub_StrLen nTxtStartIdx = rStart.GetIndex();
- xub_StrLen nDestStart = rDestStart.GetIndex(); // alte Pos merken
+ xub_StrLen nDestStart = rDestStart.GetIndex(); // alte Pos merken
const xub_StrLen nInitSize = pDest->m_Text.Len();
// wird in sich selbst verschoben, muss es gesondert behandelt werden !!
@@ -1938,7 +1938,7 @@ void SwTxtNode::CutImpl( SwTxtNode * const pDest, const SwIndex & rDestStart,
if( pEndIdx )
*pHt->GetEnd() = *pEndIdx - nTxtStartIdx;
aArr.C40_INSERT( SwTxtAttr, pHt, aArr.Count() );
- continue; // while-Schleife weiter, ohne ++ !
+ continue; // while-Schleife weiter, ohne ++ !
}
// das Ende liegt dahinter
else if (RES_TXTATR_REFMARK != nWhich && !pHt->HasDummyChar())
@@ -2016,7 +2016,7 @@ void SwTxtNode::CutImpl( SwTxtNode * const pDest, const SwIndex & rDestStart,
pDest->m_Text.Insert( m_Text, nTxtStartIdx, nLen, nDestStart );
m_Text.Erase( nTxtStartIdx, nLen );
nLen = pDest->m_Text.Len() - nInitSize; // update w/ current size!
- if( !nLen ) // String nicht gewachsen ??
+ if( !nLen ) // String nicht gewachsen ??
return;
if( bUpdate )
@@ -2138,7 +2138,7 @@ void SwTxtNode::CutImpl( SwTxtNode * const pDest, const SwIndex & rDestStart,
{
GetDoc()->GetDocShell()->Broadcast( SfxSimpleHint(SFX_HINT_USER04));
}
- continue; // while-Schleife weiter, ohne ++ !
+ continue; // while-Schleife weiter, ohne ++ !
}
// das Ende liegt dahinter
else if( RES_TXTATR_REFMARK != nWhich || bUndoNodes )
@@ -2166,7 +2166,7 @@ void SwTxtNode::CutImpl( SwTxtNode * const pDest, const SwIndex & rDestStart,
// sollten jetzt noch leere Attribute rumstehen, dann haben diese
// eine hoehere Praezedenz. Also herausholen und das Array updaten.
// Die dabei entstehenden leeren Hints werden von den gesicherten
- // "uebergeplaettet". (Bug: 6977)
+ // "uebergeplaettet". (Bug: 6977)
if( m_pSwpHints && nAttrCnt < m_pSwpHints->Count() )
{
SwpHts aArr( 5 );
@@ -2317,14 +2317,14 @@ void SwTxtNode::EraseText(const SwIndex &rIdx, const xub_StrLen nCount,
}
/***********************************************************************
-#* Class : SwTxtNode
-#* Methode : GCAttr
+#* Class : SwTxtNode
+#* Methode : GCAttr
#*
-#* Beschreibung
-#* text.doc
+#* Beschreibung
+#* text.doc
#*
-#* Datum : MS 28.11.90
-#* Update : VB 24.07.91
+#* Datum : MS 28.11.90
+#* Update : VB 24.07.91
#***********************************************************************/
void SwTxtNode::GCAttr()
@@ -2479,7 +2479,7 @@ SwTxtNode* SwTxtNode::_MakeNewTxtNode( const SwNodeIndex& rPos, BOOL bNext,
pNewAttrSet = new SwAttrSet( *GetpSwAttrSet() );
const SfxItemSet* pTmpSet = GetpSwAttrSet();
- if( bNext ) // der naechste erbt keine Breaks!
+ if( bNext ) // der naechste erbt keine Breaks!
pTmpSet = pNewAttrSet;
// PageBreaks/PageDesc/ColBreak rausschmeissen.
@@ -2569,7 +2569,7 @@ SwTxtNode* SwTxtNode::_MakeNewTxtNode( const SwNodeIndex& rPos, BOOL bNext,
// nochmal uebergeplaettet werden !!
if( pColl != pNode->GetTxtColl() ||
( bChgFollow && pColl != GetTxtColl() ))
- return pNode; // mehr duerfte nicht gemacht werden oder ????
+ return pNode; // mehr duerfte nicht gemacht werden oder ????
pNode->_ChgTxtCollUpdateNum( 0, pColl ); // fuer Nummerierung/Gliederung
if( bNext || !bChgFollow )
@@ -2628,7 +2628,7 @@ SwCntntNode* SwTxtNode::AppendNode( const SwPosition & rPos )
}
/*************************************************************************
- * SwTxtNode::GetTxtAttr
+ * SwTxtNode::GetTxtAttr
*************************************************************************/
SwTxtAttr * SwTxtNode::GetTxtAttrForCharAt( const xub_StrLen nIndex,
@@ -3037,7 +3037,7 @@ BOOL SwTxtNode::GetExpandTxt( SwTxtNode& rDestNd, const SwIndex* pDestIdx,
const xub_StrLen nAttrStartIdx = *pHt->GetStart();
const USHORT nWhich = pHt->Which();
if (nIdx + nLen <= nAttrStartIdx)
- break; // ueber das Textende
+ break; // ueber das Textende
const xub_StrLen *pEndIdx = pHt->GetEnd();
if( pEndIdx && *pEndIdx > nIdx &&
@@ -3067,7 +3067,7 @@ BOOL SwTxtNode::GetExpandTxt( SwTxtNode& rDestNd, const SwIndex* pDestIdx,
->ExpandField(GetDoc()->IsClipBoard()));
if( aExpand.Len() )
{
- aDestIdx++; // dahinter einfuegen;
+ aDestIdx++; // dahinter einfuegen;
rDestNd.InsertText( aExpand, aDestIdx );
aDestIdx = nInsPos + nAttrStartIdx;
nInsPos = nInsPos + aExpand.Len();
@@ -3221,11 +3221,11 @@ XubString SwTxtNode::GetRedlineTxt( xub_StrLen nIdx, xub_StrLen nLen,
else
{
aRedlArr.Insert( GetTxt().Len(), aRedlArr.Count() );
- break; // mehr kann nicht kommen
+ break; // mehr kann nicht kommen
}
}
else
- break; // mehr kann nicht kommen
+ break; // mehr kann nicht kommen
}
}
}
@@ -3517,10 +3517,10 @@ void SwTxtNode::Modify( SfxPoolItem* pOldValue, SfxPoolItem* pNewValue )
m_bNotifiable = false;
// Bug 24616/24617:
- // Modify ueberladen, damit beim Loeschen von Vorlagen diese
- // wieder richtig verwaltet werden (Outline-Numerierung!!)
- // Bug25481:
- // bei Nodes im Undo nie _ChgTxtCollUpdateNum rufen.
+ // Modify ueberladen, damit beim Loeschen von Vorlagen diese
+ // wieder richtig verwaltet werden (Outline-Numerierung!!)
+ // Bug25481:
+ // bei Nodes im Undo nie _ChgTxtCollUpdateNum rufen.
if( pOldValue && pNewValue && RES_FMT_CHG == pOldValue->Which() &&
pRegisteredIn == ((SwFmtChg*)pNewValue)->pChangedFmt &&
GetNodes().IsDocNodes() )
@@ -4260,7 +4260,7 @@ namespace {
{
mbAddTxtNodeToList = true;
// --> OD 2010-05-12 #i105562#
- //
+ //
mrTxtNode.ResetEmptyListStyleDueToResetOutlineLevelAttr();
// <--
}
diff --git a/sw/source/core/txtnode/swfntcch.cxx b/sw/source/core/txtnode/swfntcch.cxx
index 590742575b7d..f4a6a1ce20bd 100644
--- a/sw/source/core/txtnode/swfntcch.cxx
+++ b/sw/source/core/txtnode/swfntcch.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -44,10 +44,10 @@ SwFontCache *pSwFontCache = NULL;
/*************************************************************************
|*
-|* SwFontObj::SwFontObj(), ~SwFontObj()
+|* SwFontObj::SwFontObj(), ~SwFontObj()
|*
-|* Ersterstellung AMA 25. Jun. 95
-|* Letzte Aenderung AMA 25. Jun. 95
+|* Ersterstellung AMA 25. Jun. 95
+|* Letzte Aenderung AMA 25. Jun. 95
|*
|*************************************************************************/
@@ -67,10 +67,10 @@ SwFontObj::~SwFontObj()
/*************************************************************************
|*
-|* SwFontAccess::SwFontAccess()
+|* SwFontAccess::SwFontAccess()
|*
-|* Ersterstellung AMA 25. Jun. 95
-|* Letzte Aenderung AMA 25. Jun. 95
+|* Ersterstellung AMA 25. Jun. 95
+|* Letzte Aenderung AMA 25. Jun. 95
|*
|*************************************************************************/
diff --git a/sw/source/core/txtnode/swfont.cxx b/sw/source/core/txtnode/swfont.cxx
index 28f483a3f6ae..e7f7620c8a1a 100644
--- a/sw/source/core/txtnode/swfont.cxx
+++ b/sw/source/core/txtnode/swfont.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -64,7 +64,7 @@
#include <IDocumentSettingAccess.hxx>
#include <vcl/window.hxx>
#include <charatr.hxx>
-#include <viewsh.hxx> // Bildschirmabgleich
+#include <viewsh.hxx> // Bildschirmabgleich
#include <swfont.hxx>
#include <fntcache.hxx> // FontCache
#include <txtfrm.hxx> // SwTxtFrm
@@ -173,12 +173,12 @@ void SwFont::SetVertical( USHORT nDir, const BOOL bVertFormat )
Escapement:
frEsc: Fraction, Grad des Escapements
Esc = resultierendes Escapement
- A1 = Original-Ascent (nOrgAscent)
- A2 = verkleinerter Ascent (nEscAscent)
- Ax = resultierender Ascent (GetAscent())
- H1 = Original-Hoehe (nOrgHeight)
- H2 = verkleinerter Hoehe (nEscHeight)
- Hx = resultierender Hoehe (GetHeight())
+ A1 = Original-Ascent (nOrgAscent)
+ A2 = verkleinerter Ascent (nEscAscent)
+ Ax = resultierender Ascent (GetAscent())
+ H1 = Original-Hoehe (nOrgHeight)
+ H2 = verkleinerter Hoehe (nEscHeight)
+ Hx = resultierender Hoehe (GetHeight())
Bx = resultierende Baseline fuer die Textausgabe (CalcPos())
(Vorsicht: Y - A1!)
@@ -198,7 +198,7 @@ void SwFont::SetVertical( USHORT nDir, const BOOL bVertFormat )
*************************************************************************/
/*************************************************************************
- * SwSubFont::CalcEscAscent( const USHORT nOldAscent )
+ * SwSubFont::CalcEscAscent( const USHORT nOldAscent )
*************************************************************************/
// nEsc ist der Prozentwert
@@ -423,7 +423,7 @@ void SwFont::SetDiffFnt( const SfxItemSet *pAttrSet,
}
/*************************************************************************
- * class SwFont
+ * class SwFont
*************************************************************************/
SwFont::SwFont( const SwFont &rFont )
@@ -600,7 +600,7 @@ SwFont& SwFont::operator=( const SwFont &rFont )
}
/*************************************************************************
- * SwFont::GoMagic()
+ * SwFont::GoMagic()
*************************************************************************/
void SwFont::GoMagic( ViewShell *pSh, BYTE nWhich )
@@ -610,7 +610,7 @@ void SwFont::GoMagic( ViewShell *pSh, BYTE nWhich )
}
/*************************************************************************
- * SwSubFont::IsSymbol()
+ * SwSubFont::IsSymbol()
*************************************************************************/
BOOL SwSubFont::IsSymbol( ViewShell *pSh )
@@ -620,7 +620,7 @@ BOOL SwSubFont::IsSymbol( ViewShell *pSh )
}
/*************************************************************************
- * SwSubFont::ChgFnt()
+ * SwSubFont::ChgFnt()
*************************************************************************/
BOOL SwSubFont::ChgFnt( ViewShell *pSh, OutputDevice& rOut )
@@ -641,7 +641,7 @@ BOOL SwSubFont::ChgFnt( ViewShell *pSh, OutputDevice& rOut )
}
/*************************************************************************
- * SwFont::ChgPhysFnt()
+ * SwFont::ChgPhysFnt()
*************************************************************************/
void SwFont::ChgPhysFnt( ViewShell *pSh, OutputDevice& rOut )
@@ -671,11 +671,11 @@ void SwFont::ChgPhysFnt( ViewShell *pSh, OutputDevice& rOut )
}
/*************************************************************************
- * SwFont::CalcEscHeight()
+ * SwFont::CalcEscHeight()
* Height = MaxAscent + MaxDescent
* MaxAscent = Max (T1_ascent, T2_ascent + (Esc * T1_height) );
* MaxDescent = Max (T1_height-T1_ascent,
- * T2_height-T2_ascent - (Esc * T1_height)
+ * T2_height-T2_ascent - (Esc * T1_height)
*************************************************************************/
USHORT SwSubFont::CalcEscHeight( const USHORT nOldHeight,
@@ -717,7 +717,7 @@ USHORT SwSubFont::GetAscent( ViewShell *pSh, const OutputDevice& rOut )
}
/*************************************************************************
- * SwSubFont::GetHeight()
+ * SwSubFont::GetHeight()
*************************************************************************/
USHORT SwSubFont::GetHeight( ViewShell *pSh, const OutputDevice& rOut )
@@ -734,7 +734,7 @@ USHORT SwSubFont::GetHeight( ViewShell *pSh, const OutputDevice& rOut )
}
/*************************************************************************
- * SwSubFont::_GetTxtSize()
+ * SwSubFont::_GetTxtSize()
*************************************************************************/
Size SwSubFont::_GetTxtSize( SwDrawTextInfo& rInf )
{
@@ -836,7 +836,7 @@ Size SwSubFont::_GetTxtSize( SwDrawTextInfo& rInf )
}
/*************************************************************************
- * SwSubFont::_DrawText()
+ * SwSubFont::_DrawText()
*************************************************************************/
void SwSubFont::_DrawText( SwDrawTextInfo &rInf, const BOOL bGrey )
@@ -1054,7 +1054,7 @@ static sal_Char __READONLY_DATA sDoubleSpace[] = " ";
}
/*************************************************************************
- * SwSubFont::_GetCrsrOfst()
+ * SwSubFont::_GetCrsrOfst()
*************************************************************************/
xub_StrLen SwSubFont::_GetCrsrOfst( SwDrawTextInfo& rInf )
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index a04fd4ea2404..f2961715466a 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -71,7 +71,7 @@
#include <pam.hxx>
#include <ndtxt.hxx>
#include <txtfrm.hxx>
-#include <rolbck.hxx> // fuer SwRegHistory
+#include <rolbck.hxx> // fuer SwRegHistory
#include <ddefld.hxx>
#include <docufld.hxx>
#include <expfld.hxx>
@@ -962,7 +962,7 @@ void SwpHints::BuildPortions( SwTxtNode& rNode, SwTxtAttr& rNewHint,
}
/*************************************************************************
- * SwTxtNode::MakeTxtAttr()
+ * SwTxtNode::MakeTxtAttr()
*************************************************************************/
SwTxtAttr* MakeRedlineTxtAttr( SwDoc & rDoc, SfxPoolItem & rAttr )
@@ -1116,7 +1116,7 @@ void SwTxtNode::DestroyAttr( SwTxtAttr* pAttr )
// siehe auch die Anmerkung "Loeschen von Formaten
// zeichengebundener Frames" in fesh.cxx, SwFEShell::DelFmt()
SwFrmFmt* pFmt = pAttr->GetFlyCnt().GetFrmFmt();
- if( pFmt ) // vom Undo auf 0 gesetzt ??
+ if( pFmt ) // vom Undo auf 0 gesetzt ??
pDoc->DelLayoutFmt( (SwFlyFrmFmt*)pFmt );
}
break;
@@ -1201,7 +1201,7 @@ void SwTxtNode::DestroyAttr( SwTxtAttr* pAttr )
}
/*************************************************************************
- * SwTxtNode::Insert()
+ * SwTxtNode::Insert()
*************************************************************************/
SwTxtAttr*
@@ -1589,7 +1589,7 @@ void SwTxtNode::DeleteAttributes( const USHORT nWhich,
SwUpdateAttr aHint( nStart, *pEndIdx, nWhich );
m_pSwpHints->DeleteAtPos( nPos ); // gefunden, loeschen,
SwTxtAttr::Destroy( pTxtHt, GetDoc()->GetAttrPool() );
- SwModify::Modify( 0, &aHint ); // die Frames benachrichtigen
+ SwModify::Modify( 0, &aHint ); // die Frames benachrichtigen
}
}
}
@@ -1597,7 +1597,7 @@ void SwTxtNode::DeleteAttributes( const USHORT nWhich,
}
/*************************************************************************
- * SwTxtNode::DelSoftHyph()
+ * SwTxtNode::DelSoftHyph()
*************************************************************************/
void SwTxtNode::DelSoftHyph( const xub_StrLen nStt, const xub_StrLen nEnd )
@@ -1795,10 +1795,10 @@ void lcl_MergeAttr_ExpandChrFmt( SfxItemSet& rSet, const SfxPoolItem& rAttr )
/* wenn mehrere Attribute ueberlappen gewinnt der letze !!
z.B
1234567890123456789
- |------------| Font1
- |------| Font2
+ |------------| Font1
+ |------| Font2
^ ^
- |--| Abfragebereich: -> Gueltig ist Font2
+ |--| Abfragebereich: -> Gueltig ist Font2
*/
rSet.Put( rAttr );
}
@@ -1843,14 +1843,14 @@ BOOL SwTxtNode::GetAttr( SfxItemSet& rSet, xub_StrLen nStt, xub_StrLen nEnd,
{
/* stelle erstmal fest, welche Text-Attribut in dem Bereich gueltig
* sind. Dabei gibt es folgende Faelle:
- * UnEindeutig wenn: (wenn != Format-Attribut)
- * - das Attribut liegt vollstaendig im Bereich
- * - das Attributende liegt im Bereich
- * - der Attributanfang liegt im Bereich:
+ * UnEindeutig wenn: (wenn != Format-Attribut)
+ * - das Attribut liegt vollstaendig im Bereich
+ * - das Attributende liegt im Bereich
+ * - der Attributanfang liegt im Bereich:
* Eindeutig (im Set mergen):
- * - das Attrib umfasst den Bereich
+ * - das Attrib umfasst den Bereich
* nichts tun:
- * das Attribut liegt ausserhalb des Bereiches
+ * das Attribut liegt ausserhalb des Bereiches
*/
void (*fnMergeAttr)( SfxItemSet&, const SfxPoolItem& )
@@ -1878,7 +1878,7 @@ BOOL SwTxtNode::GetAttr( SfxItemSet& rSet, xub_StrLen nStt, xub_StrLen nEnd,
{
const SwTxtAttr* pHt = (*m_pSwpHints)[n];
const xub_StrLen nAttrStart = *pHt->GetStart();
- if( nAttrStart > nEnd ) // ueber den Bereich hinaus
+ if( nAttrStart > nEnd ) // ueber den Bereich hinaus
break;
const xub_StrLen* pAttrEnd = pHt->GetEnd();
@@ -1893,7 +1893,7 @@ BOOL SwTxtNode::GetAttr( SfxItemSet& rSet, xub_StrLen nStt, xub_StrLen nEnd,
(*fnMergeAttr)( rSet, pHt->GetAttr() );
}
}
- else // es ist ein Bereich definiert
+ else // es ist ein Bereich definiert
{
// --> FME 2007-03-13 #i75299#
::std::auto_ptr< std::vector< SwPoolItemEndPair > > pAttrArr;
@@ -1906,7 +1906,7 @@ BOOL SwTxtNode::GetAttr( SfxItemSet& rSet, xub_StrLen nStt, xub_StrLen nEnd,
{
const SwTxtAttr* pHt = (*m_pSwpHints)[n];
const xub_StrLen nAttrStart = *pHt->GetStart();
- if( nAttrStart > nEnd ) // ueber den Bereich hinaus
+ if( nAttrStart > nEnd ) // ueber den Bereich hinaus
break;
const xub_StrLen* pAttrEnd = pHt->GetEnd();
@@ -1919,15 +1919,15 @@ BOOL SwTxtNode::GetAttr( SfxItemSet& rSet, xub_StrLen nStt, xub_StrLen nEnd,
if( *pAttrEnd <= nStt ) // liegt davor
continue;
- if( nEnd <= *pAttrEnd ) // hinter oder genau Ende
+ if( nEnd <= *pAttrEnd ) // hinter oder genau Ende
(*fnMergeAttr)( aFmtSet, pHt->GetAttr() );
else
-// else if( pHt->GetAttr() != aFmtSet.Get( pHt->Which() ) )
+// else if( pHt->GetAttr() != aFmtSet.Get( pHt->Which() ) )
// uneindeutig
bChkInvalid = TRUE;
}
- else if( nAttrStart < nEnd // reicht in den Bereich
-)// && pHt->GetAttr() != aFmtSet.Get( pHt->Which() ) )
+ else if( nAttrStart < nEnd // reicht in den Bereich
+)// && pHt->GetAttr() != aFmtSet.Get( pHt->Which() ) )
bChkInvalid = TRUE;
if( bChkInvalid )
@@ -2352,7 +2352,7 @@ void SwTxtNode::FmtToTxtAttr( SwTxtNode* pNd )
}
/*************************************************************************
- * SwpHints::CalcFlags()
+ * SwpHints::CalcFlags()
*************************************************************************/
void SwpHints::CalcFlags()
@@ -2385,7 +2385,7 @@ void SwpHints::CalcFlags()
}
/*************************************************************************
- * SwpHints::CalcVisibleFlag()
+ * SwpHints::CalcVisibleFlag()
*************************************************************************/
bool SwpHints::CalcHiddenParaField()
@@ -2393,7 +2393,7 @@ bool SwpHints::CalcHiddenParaField()
m_bCalcHiddenParaField = false;
bool bOldHasHiddenParaField = m_bHasHiddenParaField;
bool bNewHasHiddenParaField = false;
- const USHORT nSize = Count();
+ const USHORT nSize = Count();
const SwTxtAttr *pTxtHt;
for( USHORT nPos = 0; nPos < nSize; ++nPos )
@@ -2424,7 +2424,7 @@ bool SwpHints::CalcHiddenParaField()
/*************************************************************************
- * SwpHints::NoteInHistory()
+ * SwpHints::NoteInHistory()
*************************************************************************/
void SwpHints::NoteInHistory( SwTxtAttr *pAttr, const bool bNew )
@@ -2580,7 +2580,7 @@ void lcl_CheckSortNumber( const SwpHints& rHints, SwTxtCharFmt& rNewCharFmt )
}
/*************************************************************************
- * SwpHints::Insert()
+ * SwpHints::Insert()
*************************************************************************/
/*
@@ -2602,7 +2602,7 @@ bool SwpHints::TryInsertHint( SwTxtAttr* const pHint, SwTxtNode &rNode,
// Felder bilden eine Ausnahme:
// 1) Sie koennen nie ueberlappen
// 2) Wenn zwei Felder genau aneinander liegen,
- // sollen sie nicht zu einem verschmolzen werden.
+ // sollen sie nicht zu einem verschmolzen werden.
// Wir koennen also auf die while-Schleife verzichten
xub_StrLen *pHtEnd = pHint->GetEnd();
@@ -2735,12 +2735,12 @@ bool SwpHints::TryInsertHint( SwTxtAttr* const pHint, SwTxtNode &rNode,
switch( eCmp )
{
case POS_BEFORE:
- case POS_BEHIND: bDelOld = FALSE; break;
+ case POS_BEHIND: bDelOld = FALSE; break;
- case POS_OUTSIDE: bChgStart = bChgEnd = TRUE; break;
+ case POS_OUTSIDE: bChgStart = bChgEnd = TRUE; break;
case POS_COLLIDE_END:
- case POS_OVERLAP_BEFORE: bChgStart = TRUE; break;
+ case POS_OVERLAP_BEFORE: bChgStart = TRUE; break;
case POS_COLLIDE_START:
case POS_OVERLAP_BEHIND: bChgEnd = TRUE; break;
default: break;
@@ -2893,7 +2893,7 @@ bool SwpHints::TryInsertHint( SwTxtAttr* const pHint, SwTxtNode &rNode,
}
/*************************************************************************
- * SwpHints::DeleteAtPos()
+ * SwpHints::DeleteAtPos()
*************************************************************************/
void SwpHints::DeleteAtPos( const USHORT nPos )
diff --git a/sw/source/core/txtnode/txatbase.cxx b/sw/source/core/txtnode/txatbase.cxx
index ae370d5afe42..50396024549c 100644
--- a/sw/source/core/txtnode/txatbase.cxx
+++ b/sw/source/core/txtnode/txatbase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/txtnode/txatritr.cxx b/sw/source/core/txtnode/txatritr.cxx
index 9122b2d42e08..e59b4a05f1b9 100644
--- a/sw/source/core/txtnode/txatritr.cxx
+++ b/sw/source/core/txtnode/txatritr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -185,7 +185,7 @@ void SwTxtAttrIterator::SearchNextChg()
{
aSIter.Next();
pParaItem = 0;
- nAttrPos = 0; // must be restart at the beginning, because
+ nAttrPos = 0; // must be restart at the beginning, because
// some attributes can start before or inside
// the current scripttype!
aStack.Remove( 0, aStack.Count() );
diff --git a/sw/source/core/txtnode/txtatr2.cxx b/sw/source/core/txtnode/txtatr2.cxx
index 0e4434679d7b..de3a16425560 100644
--- a/sw/source/core/txtnode/txtatr2.cxx
+++ b/sw/source/core/txtnode/txtatr2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,8 +40,8 @@
#include <fmtinfmt.hxx>
#include <charfmt.hxx>
#include <ndtxt.hxx> // SwCharFmt, SwTxtNode
-#include <poolfmt.hxx> // RES_POOLCHR_INET_...
-#include <doc.hxx> // SwDoc
+#include <poolfmt.hxx> // RES_POOLCHR_INET_...
+#include <doc.hxx> // SwDoc
#include <fmtruby.hxx>
#include <fmtmeta.hxx>
@@ -51,7 +51,7 @@ TYPEINIT1(SwTxtRuby,SwClient);
/*************************************************************************
- * class SwTxtCharFmt
+ * class SwTxtCharFmt
*************************************************************************/
SwTxtCharFmt::SwTxtCharFmt( SwFmtCharFmt& rAttr,
@@ -118,7 +118,7 @@ SwTxtAttrNesting::~SwTxtAttrNesting()
/*************************************************************************
- * class SwTxtINetFmt
+ * class SwTxtINetFmt
*************************************************************************/
SwTxtINetFmt::SwTxtINetFmt( SwFmtINetFmt& rAttr,
@@ -159,7 +159,7 @@ SwCharFmt* SwTxtINetFmt::GetCharFmt()
nId = static_cast<USHORT>(IsVisited() ? RES_POOLCHR_INET_VISIT : RES_POOLCHR_INET_NORMAL);
// JP 10.02.2000, Bug 72806: dont modify the doc for getting the
- // correct charstyle.
+ // correct charstyle.
BOOL bResetMod = !pDoc->IsModified();
Link aOle2Lnk;
if( bResetMod )
@@ -220,7 +220,7 @@ BOOL SwTxtINetFmt::IsProtect( ) const
}
/*************************************************************************
- * class SwTxtRuby
+ * class SwTxtRuby
*************************************************************************/
SwTxtRuby::SwTxtRuby( SwFmtRuby& rAttr,
@@ -276,7 +276,7 @@ SwCharFmt* SwTxtRuby::GetCharFmt()
nId = rFmt.GetCharFmtId();
// JP 10.02.2000, Bug 72806: dont modify the doc for getting the
- // correct charstyle.
+ // correct charstyle.
BOOL bResetMod = !pDoc->IsModified();
Link aOle2Lnk;
if( bResetMod )
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx
index 8ba83e61ddf5..cc03200ad775 100644
--- a/sw/source/core/txtnode/txtedt.cxx
+++ b/sw/source/core/txtnode/txtedt.cxx
@@ -32,9 +32,9 @@
// So kann man die Linguistik-Statistik ( (Tmp-Path)\swlingu.stk ) aktivieren:
//#define LINGU_STATISTIK
#ifdef LINGU_STATISTIK
- #include <stdio.h> // in SwLinguStatistik::DTOR
- #include <stdlib.h> // getenv()
- #include <time.h> // clock()
+ #include <stdio.h> // in SwLinguStatistik::DTOR
+ #include <stdlib.h> // getenv()
+ #include <time.h> // clock()
#include <tools/stream.hxx>
#endif
@@ -55,7 +55,7 @@
#include <splargs.hxx>
#include <viewopt.hxx>
#include <acmplwrd.hxx>
-#include <doc.hxx> // GetDoc()
+#include <doc.hxx> // GetDoc()
#include <docsh.hxx>
#include <txtfld.hxx>
#include <fmtfld.hxx>
@@ -73,8 +73,8 @@
#include <crstate.hxx>
#include <undobj.hxx>
#include <txatritr.hxx>
-#include <redline.hxx> // SwRedline
-#include <docary.hxx> // SwRedlineTbl
+#include <redline.hxx> // SwRedline
+#include <docary.hxx> // SwRedlineTbl
#include <scriptinfo.hxx>
#include <docstat.hxx>
#include <editsh.hxx>
@@ -410,7 +410,7 @@ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich,
xub_StrLen nAttrStart;
SwTxtAttr *pHt;
- BOOL bChanged = FALSE;
+ BOOL bChanged = FALSE;
// nMin and nMax initialized to maximum / minimum (inverse)
xub_StrLen nMin = m_Text.Len();
@@ -493,7 +493,7 @@ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich,
// Falls wir nur ein nichtaufgespanntes Attribut entfernen,
// tun wir mal so, als ob sich nichts geaendert hat.
bChanged = bChanged || nEnd > nAttrStart || bNoLen;
- if( *pAttrEnd <= nEnd ) // Fall: 1
+ if( *pAttrEnd <= nEnd ) // Fall: 1
{
const xub_StrLen nAttrEnd = *pAttrEnd;
@@ -522,7 +522,7 @@ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich,
continue;
}
- else // Fall: 3
+ else // Fall: 3
{
m_pSwpHints->NoteInHistory( pHt );
*pHt->GetStart() = nEnd;
@@ -539,10 +539,10 @@ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich,
}
}
}
- else // Faelle: 2,4,5
+ else // Faelle: 2,4,5
if( *pAttrEnd > nStt ) // Faelle: 2,4
{
- if( *pAttrEnd < nEnd ) // Fall: 2
+ if( *pAttrEnd < nEnd ) // Fall: 2
{
if ( nMin > nAttrStart )
nMin = nAttrStart;
@@ -563,8 +563,8 @@ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich,
InsertHint( pNew, nsSetAttrMode::SETATTR_NOHINTADJUST );
}
}
- else if( nLen ) // Fall: 4
- { // bei Lange 0 werden beide Hints vom Insert(Ht)
+ else if( nLen ) // Fall: 4
+ { // bei Lange 0 werden beide Hints vom Insert(Ht)
// wieder zu einem zusammengezogen !!!!
if ( nMin > nAttrStart )
nMin = nAttrStart;
@@ -622,7 +622,7 @@ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich,
}
/*************************************************************************
- * SwTxtNode::GetCurWord()
+ * SwTxtNode::GetCurWord()
*
* Aktuelles Wort zurueckliefern:
* Wir suchen immer von links nach rechts, es wird also das Wort
@@ -1058,7 +1058,7 @@ USHORT SwTxtNode::Convert( SwConversionArgs &rArgs )
}
nBegin = nChPos; // start of next language portion
}
- } while (!bFound && aIter.Next()); /* loop while nothing was found and still sth is left to be searched */
+ } while (!bFound && aIter.Next()); /* loop while nothing was found and still sth is left to be searched */
}
// keep resulting text within selection / range of text to be converted
@@ -1448,7 +1448,7 @@ void SwTxtFrm::CollectAutoCmplWrds( SwCntntNode* pActNode, xub_StrLen nActPos )
}
/*************************************************************************
- * SwTxtNode::Hyphenate
+ * SwTxtNode::Hyphenate
*************************************************************************/
// Findet den TxtFrm und sucht dessen CalcHyph