summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-07-25 10:24:57 +0200
committerZolnai Tamás <zolnaitamas2000@gmail.com>2013-07-26 07:16:41 +0200
commite28358e75aeb40cd51186cdcfe82b3880e7f6701 (patch)
tree902f1826e19aa46893e02471cc8a4900a46a5aba /sw/source/core
parentf8a4c68588e3cd209fd6bba8671d8f42f1cc1ce9 (diff)
Missing magic in font
Change-Id: Ic3f4d12729c0309e03992c06f8a57da3d004c24a
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/txtnode/swfont.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/txtnode/swfont.cxx b/sw/source/core/txtnode/swfont.cxx
index 783524aa9612..7a62c47e4c3d 100644
--- a/sw/source/core/txtnode/swfont.cxx
+++ b/sw/source/core/txtnode/swfont.cxx
@@ -84,6 +84,7 @@ void SwFont::SetTopBorder( const editeng::SvxBorderLine* pTopBorder )
else
m_aTopBorder = boost::none;
bFntChg = sal_True;
+ aSub[SW_LATIN].pMagic = aSub[SW_CJK].pMagic = aSub[SW_CTL].pMagic = 0;
}
void SwFont::SetBottomBorder( const editeng::SvxBorderLine* pBottomBorder )
@@ -93,6 +94,7 @@ void SwFont::SetBottomBorder( const editeng::SvxBorderLine* pBottomBorder )
else
m_aBottomBorder = boost::none;
bFntChg = sal_True;
+ aSub[SW_LATIN].pMagic = aSub[SW_CJK].pMagic = aSub[SW_CTL].pMagic = 0;
}
void SwFont::SetRightBorder( const editeng::SvxBorderLine* pRightBorder )
@@ -102,6 +104,7 @@ void SwFont::SetRightBorder( const editeng::SvxBorderLine* pRightBorder )
else
m_aRightBorder = boost::none;
bFntChg = sal_True;
+ aSub[SW_LATIN].pMagic = aSub[SW_CJK].pMagic = aSub[SW_CTL].pMagic = 0;
}
void SwFont::SetLeftBorder( const editeng::SvxBorderLine* pLeftBorder )
@@ -111,6 +114,7 @@ void SwFont::SetLeftBorder( const editeng::SvxBorderLine* pLeftBorder )
else
m_aLeftBorder = boost::none;
bFntChg = sal_True;
+ aSub[SW_LATIN].pMagic = aSub[SW_CJK].pMagic = aSub[SW_CTL].pMagic = 0;
}
// maps directions for vertical layout