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 /sc | |
parent | fix snafu that crept in with 5da5cd60acb7a18878300da7f4b0acb0dbad1888 (diff) | |
download | core-895dc882c451bcc03236267d3ce33be218451721.tar.gz core-895dc882c451bcc03236267d3ce33be218451721.zip |
generic integers to enums
Change-Id: Ic43283b9e1666c0f2162e277dc79fc6f992ef616
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/xmlfonte.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/filter/xml/xmlfonte.cxx b/sc/source/filter/xml/xmlfonte.cxx index 0caca5501dab..4092bfa18dfd 100644 --- a/sc/source/filter/xml/xmlfonte.cxx +++ b/sc/source/filter/xml/xmlfonte.cxx @@ -49,8 +49,7 @@ void ScXMLFontAutoStylePool_Impl::AddFontItems(sal_uInt16* pWhichIds, sal_uInt8 { const SvxFontItem *pFont((const SvxFontItem *)pItem); Add( pFont->GetFamilyName(), pFont->GetStyleName(), - sal::static_int_cast<sal_Int16>(pFont->GetFamily()), - sal::static_int_cast<sal_Int16>(pFont->GetPitch()), + pFont->GetFamily(), pFont->GetPitch(), pFont->GetCharSet() ); } sal_uInt32 nItems(pItemPool->GetItemCount2( nWhichId )); @@ -60,8 +59,7 @@ void ScXMLFontAutoStylePool_Impl::AddFontItems(sal_uInt16* pWhichIds, sal_uInt8 { const SvxFontItem *pFont((const SvxFontItem *)pItem); Add( pFont->GetFamilyName(), pFont->GetStyleName(), - sal::static_int_cast<sal_Int16>(pFont->GetFamily()), - sal::static_int_cast<sal_Int16>(pFont->GetPitch()), + pFont->GetFamily(), pFont->GetPitch(), pFont->GetCharSet() ); } } |