summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/poolfmt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/doc/poolfmt.cxx')
-rw-r--r--sw/source/core/doc/poolfmt.cxx15
1 files changed, 10 insertions, 5 deletions
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index 722ba67f5e7a..4c812b51d657 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -80,19 +80,24 @@ void SetAllScriptItem( SfxItemSet& rSet, const SfxPoolItem& rItem )
switch( rItem.Which() )
{
case RES_CHRATR_FONTSIZE:
- nWhCJK = RES_CHRATR_CJK_FONTSIZE, nWhCTL = RES_CHRATR_CTL_FONTSIZE;
+ nWhCJK = RES_CHRATR_CJK_FONTSIZE;
+ nWhCTL = RES_CHRATR_CTL_FONTSIZE;
break;
case RES_CHRATR_FONT:
- nWhCJK = RES_CHRATR_CJK_FONT, nWhCTL = RES_CHRATR_CTL_FONT;
+ nWhCJK = RES_CHRATR_CJK_FONT;
+ nWhCTL = RES_CHRATR_CTL_FONT;
break;
case RES_CHRATR_LANGUAGE:
- nWhCJK = RES_CHRATR_CJK_LANGUAGE, nWhCTL = RES_CHRATR_CTL_LANGUAGE;
+ nWhCJK = RES_CHRATR_CJK_LANGUAGE;
+ nWhCTL = RES_CHRATR_CTL_LANGUAGE;
break;
case RES_CHRATR_POSTURE:
- nWhCJK = RES_CHRATR_CJK_POSTURE, nWhCTL = RES_CHRATR_CTL_POSTURE;
+ nWhCJK = RES_CHRATR_CJK_POSTURE;
+ nWhCTL = RES_CHRATR_CTL_POSTURE;
break;
case RES_CHRATR_WEIGHT:
- nWhCJK = RES_CHRATR_CJK_WEIGHT, nWhCTL = RES_CHRATR_CTL_WEIGHT;
+ nWhCJK = RES_CHRATR_CJK_WEIGHT;
+ nWhCTL = RES_CHRATR_CTL_WEIGHT;
break;
}