diff options
Diffstat (limited to 'sw/source/filter/ww8/ww8par2.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par2.cxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx index 6f7198009f51..6df597fe7cac 100644 --- a/sw/source/filter/ww8/ww8par2.cxx +++ b/sw/source/filter/ww8/ww8par2.cxx @@ -4067,29 +4067,29 @@ void WW8RStyle::ScanStyles() // investigate style dependencies std::vector<sal_uInt8> ChpxToSprms(const Word2CHPX &rChpx) { - std::vector<sal_uInt8> aRet; - - aRet.push_back(60); - aRet.push_back( static_cast< sal_uInt8 >(128 + rChpx.fBold) ); - - aRet.push_back(61); - aRet.push_back( static_cast< sal_uInt8 >(128 + rChpx.fItalic) ); + std::vector<sal_uInt8> aRet + { + 60, + static_cast< sal_uInt8 >(128 + rChpx.fBold), - aRet.push_back(62); - aRet.push_back( static_cast< sal_uInt8 >(128 + rChpx.fStrike) ); + 61, + static_cast< sal_uInt8 >(128 + rChpx.fItalic), - aRet.push_back(63); - aRet.push_back( static_cast< sal_uInt8 >(128 + rChpx.fOutline) ); + 62, + static_cast< sal_uInt8 >(128 + rChpx.fStrike), - aRet.push_back(65); - aRet.push_back( static_cast< sal_uInt8 >(128 + rChpx.fSmallCaps) ); + 63, + static_cast< sal_uInt8 >(128 + rChpx.fOutline), - aRet.push_back(66); - aRet.push_back( static_cast< sal_uInt8 >(128 + rChpx.fCaps) ); + 65, + static_cast< sal_uInt8 >(128 + rChpx.fSmallCaps), - aRet.push_back(67); - aRet.push_back( static_cast< sal_uInt8 >(128 + rChpx.fVanish) ); + 66, + static_cast< sal_uInt8 >(128 + rChpx.fCaps), + 67, + static_cast< sal_uInt8 >(128 + rChpx.fVanish) + }; if (rChpx.fsFtc) { aRet.push_back(68); |