diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-24 13:19:04 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-24 13:19:39 +0200 |
commit | fe2164949b38a7f73883dbdcb3271b94e5c81744 (patch) | |
tree | d3b8d4ccfd21debfd4c554149eca01fc0f1a7d72 /editeng/source | |
parent | 1d7c589d502fb7f0d874c13e30011ca33a3fb6e4 (diff) |
teach unusedvariablecheck plugin about SfxPoolItem subclasses
which can all be treated as SAL_WARN_UNUSED
The eehtml.cxx change probably fixes some CJK/CTL bug somewhere
Change-Id: I6852129540f316075aee907971ac19418d71dd9a
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/editeng/eehtml.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/editeng/eehtml.cxx b/editeng/source/editeng/eehtml.cxx index be16f0366480..f0f6cd3ffec7 100644 --- a/editeng/source/editeng/eehtml.cxx +++ b/editeng/source/editeng/eehtml.cxx @@ -598,10 +598,10 @@ void EditHTMLParser::ImpSetStyleSheet( sal_uInt16 nHLevel ) aItems.Put( aWeightItem ); SvxWeightItem aWeightItemCJK( WEIGHT_BOLD, EE_CHAR_WEIGHT_CJK ); - aItems.Put( aWeightItem ); + aItems.Put( aWeightItemCJK ); SvxWeightItem aWeightItemCTL( WEIGHT_BOLD, EE_CHAR_WEIGHT_CTL ); - aItems.Put( aWeightItem ); + aItems.Put( aWeightItemCTL ); } // Font hight and margins, when LogicToLogic is possible: |