summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/text/pormulti.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index 9927020edad7..52fdf931010b 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -257,11 +257,16 @@ SwDoubleLinePortion::SwDoubleLinePortion(SwDoubleLinePortion& rDouble, sal_Int32
// internet style, which contains the 2-line-attribute.
SwDoubleLinePortion::SwDoubleLinePortion(const SwMultiCreator& rCreate, sal_Int32 nEnd)
: SwMultiPortion(nEnd)
- , pBracket(new SwBracket())
+ , pBracket(new SwBracket)
, nLineDiff(0)
, nBlank1(0)
, nBlank2(0)
{
+ pBracket->nAscent = 0;
+ pBracket->nHeight = 0;
+ pBracket->nPreWidth = 0;
+ pBracket->nPostWidth = 0;
+
SetDouble();
const SvxTwoLinesItem* pTwo = static_cast<const SvxTwoLinesItem*>(rCreate.pItem);
if( pTwo )