diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-10-10 13:02:43 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-10-10 13:02:43 +0000 |
commit | 56a1f3affcd18957442313e271e3c0ebef565d84 (patch) | |
tree | c35b5ad6ed00aec900ceb7a048cc11fbd87ddd50 /sw/source/core/text/widorp.hxx | |
parent | 368ade10ba7d7551fe82d4157c37b1baa74ee137 (diff) |
CWS-TOOLING: integrate CWS cmcfixes49
Diffstat (limited to 'sw/source/core/text/widorp.hxx')
-rw-r--r-- | sw/source/core/text/widorp.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/core/text/widorp.hxx b/sw/source/core/text/widorp.hxx index 802008792776..3607c5e31eda 100644 --- a/sw/source/core/text/widorp.hxx +++ b/sw/source/core/text/widorp.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: widorp.hxx,v $ - * $Revision: 1.8 $ + * $Revision: 1.8.214.1 $ * * This file is part of OpenOffice.org. * @@ -47,15 +47,15 @@ public: SwTxtFrmBreak( SwTxtFrm *pFrm, const SwTwips nRst = 0 ); sal_Bool IsBreakNow( SwTxtMargin &rLine ); - const sal_Bool IsBroken() const { return bBreak; } - const sal_Bool IsKeepAlways() const { return bKeep; } - void Keep() { bKeep = sal_True; } - void Break() { bKeep = sal_False; bBreak = sal_True; } + sal_Bool IsBroken() const { return bBreak; } + sal_Bool IsKeepAlways() const { return bKeep; } + void Keep() { bKeep = sal_True; } + void Break() { bKeep = sal_False; bBreak = sal_True; } inline sal_Bool GetKeep() const { return bKeep; } inline void SetKeep( const sal_Bool bNew ) { bKeep = bNew; } - const sal_Bool IsInside( SwTxtMargin &rLine ) const; + sal_Bool IsInside( SwTxtMargin &rLine ) const; // Um Sonderfaelle mit Ftn behandeln zu koennen. // Mit SetRstHeight wird dem SwTxtFrmBreak die Resthoehe eingestellt, @@ -78,9 +78,9 @@ public: WidowsAndOrphans( SwTxtFrm *pFrm, const SwTwips nRst = 0, sal_Bool bCheckKeep = sal_True ); sal_Bool FindWidows( SwTxtFrm *pFrm, SwTxtMargin &rLine ); - const MSHORT GetWidowsLines() const + MSHORT GetWidowsLines() const { return nWidLines; } - const MSHORT GetOrphansLines() const + MSHORT GetOrphansLines() const { return nOrphLines; } void ClrOrphLines(){ nOrphLines = 0; } |