diff options
author | Chris Laplante <mostthingsweb@gmail.com> | 2014-04-18 17:02:13 -0400 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2014-04-19 03:00:22 +0000 |
commit | 4afb2a6a95fd7ca09542fc128cbb00dd9708b81c (patch) | |
tree | eff7b3f1162b1ee160b7808e519fedb741a72379 /sw/source/core/text/porglue.hxx | |
parent | 891e6a0be8e835edb102ecb272debe9c4e00b8e8 (diff) |
Finish removing ASCII art from sw/source/core/text
Change-Id: If845234120236f35edb57c767b5debc046e85864
Reviewed-on: https://gerrit.libreoffice.org/9101
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'sw/source/core/text/porglue.hxx')
-rw-r--r-- | sw/source/core/text/porglue.hxx | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/sw/source/core/text/porglue.hxx b/sw/source/core/text/porglue.hxx index 7c5edccbec6b..9c8568633635 100644 --- a/sw/source/core/text/porglue.hxx +++ b/sw/source/core/text/porglue.hxx @@ -24,10 +24,6 @@ class SwRect; class SwLineLayout; -/************************************************************************* - * class SwGluePortion - *************************************************************************/ - class SwGluePortion : public SwLinePortion { private: @@ -52,10 +48,6 @@ public: OUTPUT_OPERATOR_OVERRIDE }; -/************************************************************************* - * class SwFixPortion - *************************************************************************/ - class SwFixPortion : public SwGluePortion { KSHORT nFix; // The width offset in the line @@ -67,10 +59,6 @@ public: OUTPUT_OPERATOR_OVERRIDE }; -/************************************************************************* - * class SwMarginPortion - *************************************************************************/ - class SwMarginPortion : public SwGluePortion { public: @@ -79,37 +67,21 @@ public: OUTPUT_OPERATOR_OVERRIDE }; -/************************************************************************* - * inline SwGluePortion::GetPrtGlue() - *************************************************************************/ - inline short SwGluePortion::GetPrtGlue() const { return Width() - nFixWidth; } -/************************************************************************* - * inline SwGluePortion::AdjFixWidth() - * The FixWidth MUST NEVER be larger than the accumulated width! - *************************************************************************/ - +// The FixWidth MUST NEVER be larger than the accumulated width! inline void SwGluePortion::AdjFixWidth() { if( nFixWidth > PrtWidth() ) nFixWidth = PrtWidth(); } -/************************************************************************* - * inline SwGluePortion::MoveGlue() - *************************************************************************/ - inline void SwGluePortion::MoveAllGlue( SwGluePortion *pTarget ) { MoveGlue( pTarget, GetPrtGlue() ); } -/************************************************************************* - * inline SwGluePortion::MoveHalfGlue() - *************************************************************************/ - inline void SwGluePortion::MoveHalfGlue( SwGluePortion *pTarget ) { MoveGlue( pTarget, GetPrtGlue() / 2 ); |