diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-02-21 12:45:12 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-02-21 18:26:21 +0100 |
commit | 895dc882c451bcc03236267d3ce33be218451721 (patch) | |
tree | c1ce54188d19d0850a0cfcdc0d0019c4aa10c137 /sw | |
parent | 93363ff6ba8198e83417eb805b9342e8711b8c09 (diff) |
generic integers to enums
Change-Id: Ic43283b9e1666c0f2162e277dc79fc6f992ef616
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/xml/xmlfonte.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmlfonte.cxx b/sw/source/filter/xml/xmlfonte.cxx index 60e9dca5137a..1f1dd574de06 100644 --- a/sw/source/filter/xml/xmlfonte.cxx +++ b/sw/source/filter/xml/xmlfonte.cxx @@ -56,7 +56,7 @@ SwXMLFontAutoStylePool_Impl::SwXMLFontAutoStylePool_Impl( const SvxFontItem& rFont = (const SvxFontItem&)rPool.GetDefaultItem( nWhichId ); Add( rFont.GetFamilyName(), rFont.GetStyleName(), - static_cast< sal_uInt16 >(rFont.GetFamily()), static_cast< sal_uInt16 >(rFont.GetPitch()), + rFont.GetFamily(), rFont.GetPitch(), rFont.GetCharSet() ); sal_uInt32 nItems = rPool.GetItemCount2( nWhichId ); for( sal_uInt32 j = 0; j < nItems; ++j ) @@ -66,7 +66,7 @@ SwXMLFontAutoStylePool_Impl::SwXMLFontAutoStylePool_Impl( const SvxFontItem *pFont = (const SvxFontItem *)pItem; Add( pFont->GetFamilyName(), pFont->GetStyleName(), - static_cast< sal_uInt16 >(pFont->GetFamily()), static_cast< sal_uInt16 >(pFont->GetPitch()), + pFont->GetFamily(), pFont->GetPitch(), pFont->GetCharSet() ); } } |