diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-01 10:17:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-12-02 09:32:10 +0200 |
commit | e5764b7d04429549658c1eaf1189428aa504f0da (patch) | |
tree | a59a3fb91d15c7dec7cbb1ef1d8392913c6dd0aa /sw/source/uibase/lingu/hhcwrp.cxx | |
parent | c91ece97c00a780c1ed745aed64b20958e9ee2aa (diff) |
loplugin: cstylecast
Change-Id: I9a0f424adbcf95fb5ab275b90af1c56ae1d2fc44
Diffstat (limited to 'sw/source/uibase/lingu/hhcwrp.cxx')
-rw-r--r-- | sw/source/uibase/lingu/hhcwrp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/lingu/hhcwrp.cxx b/sw/source/uibase/lingu/hhcwrp.cxx index 3061cb9b24c4..5314869113ef 100644 --- a/sw/source/uibase/lingu/hhcwrp.cxx +++ b/sw/source/uibase/lingu/hhcwrp.cxx @@ -503,7 +503,7 @@ void SwHHCWrapper::ReplaceUnit( OSL_ENSURE( pTargetFont, "target font missing?" ); if (pTargetFont && pNewUnitLanguage) { - SvxFontItem aFontItem = (SvxFontItem&) aSet.Get( RES_CHRATR_CJK_FONT ); + SvxFontItem aFontItem(static_cast<const SvxFontItem&>( aSet.Get( RES_CHRATR_CJK_FONT ) )); aFontItem.SetFamilyName( pTargetFont->GetName()); aFontItem.SetFamily( pTargetFont->GetFamily()); aFontItem.SetStyleName( pTargetFont->GetStyleName()); |