summaryrefslogtreecommitdiff
path: root/xmloff/source/style/xmlnume.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-02-21 12:45:12 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-02-21 18:26:21 +0100
commit895dc882c451bcc03236267d3ce33be218451721 (patch)
treec1ce54188d19d0850a0cfcdc0d0019c4aa10c137 /xmloff/source/style/xmlnume.cxx
parent93363ff6ba8198e83417eb805b9342e8711b8c09 (diff)
generic integers to enums
Change-Id: Ic43283b9e1666c0f2162e277dc79fc6f992ef616
Diffstat (limited to 'xmloff/source/style/xmlnume.cxx')
-rw-r--r--xmloff/source/style/xmlnume.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmloff/source/style/xmlnume.cxx b/xmloff/source/style/xmlnume.cxx
index 6c94cbd222b5..4a6bd2b66c3b 100644
--- a/xmloff/source/style/xmlnume.cxx
+++ b/xmloff/source/style/xmlnume.cxx
@@ -118,8 +118,8 @@ void SvxXMLNumRuleExport::exportLevelStyle( sal_Int32 nLevel,
sal_Unicode cBullet = 0xf095;
OUString sBulletFontName, sBulletFontStyleName ;
- sal_Int16 eBulletFontFamily = FAMILY_DONTKNOW;
- sal_Int16 eBulletFontPitch = PITCH_DONTKNOW;
+ FontFamily eBulletFontFamily = FAMILY_DONTKNOW;
+ FontPitch eBulletFontPitch = PITCH_DONTKNOW;
rtl_TextEncoding eBulletFontEncoding = RTL_TEXTENCODING_DONTKNOW;
OUString sImageURL;
@@ -177,8 +177,8 @@ void SvxXMLNumRuleExport::exportLevelStyle( sal_Int32 nLevel,
{
sBulletFontName = rFDesc.Name;
sBulletFontStyleName = rFDesc.StyleName;
- eBulletFontFamily = (sal_Int16)rFDesc.Family;
- eBulletFontPitch = (sal_Int16)rFDesc.Pitch;
+ eBulletFontFamily = static_cast< FontFamily >( rFDesc.Family );
+ eBulletFontPitch = static_cast< FontPitch >( rFDesc.Pitch );
eBulletFontEncoding = (rtl_TextEncoding)rFDesc.CharSet;
}
}