summaryrefslogtreecommitdiff
path: root/sw/source/core/text/pormulti.hxx
diff options
context:
space:
mode:
authorAndreas Martens <ama@openoffice.org>2000-11-14 10:39:16 +0000
committerAndreas Martens <ama@openoffice.org>2000-11-14 10:39:16 +0000
commit452052144549c98a012a2628e60e0a71d56dd0bc (patch)
treed66f71d22dd913e97e6ed5a84b6f29194a9e67e4 /sw/source/core/text/pormulti.hxx
parentaef623cba19bc1b5d9390735765c3566003e9904 (diff)
Fix/New: Nested ruby and 2-line attributes
Diffstat (limited to 'sw/source/core/text/pormulti.hxx')
-rw-r--r--sw/source/core/text/pormulti.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/text/pormulti.hxx b/sw/source/core/text/pormulti.hxx
index 086b15360359..1462d28f7d9f 100644
--- a/sw/source/core/text/pormulti.hxx
+++ b/sw/source/core/text/pormulti.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pormulti.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: ama $ $Date: 2000-11-09 11:41:42 $
+ * last change: $Author: ama $ $Date: 2000-11-14 11:38:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -154,9 +154,8 @@ class SwDoubleLinePortion : public SwMultiPortion
xub_StrLen nBlank1; // Number of blanks in the first line
xub_StrLen nBlank2; // Number of blanks in the second line
public:
- SwDoubleLinePortion( xub_StrLen nEnd ) : SwMultiPortion( nEnd ),
- pBracket( 0 ) { SetDouble(); }
SwDoubleLinePortion( SwDoubleLinePortion& rDouble, xub_StrLen nEnd );
+ SwDoubleLinePortion( const SwTxtAttr& rAttr, xub_StrLen nEnd );
~SwDoubleLinePortion();
inline SwBracket* GetBrackets() const { return pBracket; }
@@ -167,7 +166,8 @@ public:
void FormatBrackets( SwTxtFormatInfo &rInf, SwTwips& nMaxWidth );
inline KSHORT PreWidth() const { return pBracket->nPreWidth; };
inline KSHORT PostWidth() const { return pBracket->nPostWidth; }
- inline void ClearBrackets(){ pBracket->nPreWidth = pBracket->nPostWidth=0; }
+ inline void ClearBrackets()
+ { pBracket->nPreWidth = pBracket->nPostWidth=0; Width( 0 ); }
inline KSHORT BracketWidth(){ return PreWidth() + PostWidth(); }
void CalcBlanks( SwTxtFormatInfo &rInf );