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 /reportdesign | |
parent | 93363ff6ba8198e83417eb805b9342e8711b8c09 (diff) |
generic integers to enums
Change-Id: Ic43283b9e1666c0f2162e277dc79fc6f992ef616
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/filter/xml/xmlExport.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx index df6a24eae2ee..7a41d84c36a5 100644 --- a/reportdesign/source/filter/xml/xmlExport.cxx +++ b/reportdesign/source/filter/xml/xmlExport.cxx @@ -1150,7 +1150,8 @@ void ORptExport::exportAutoStyle(XPropertySet* _xProp,const Reference<XFormatted { const awt::FontDescriptor aFont = xFormat->getFontDescriptor(); OSL_ENSURE(!aFont.Name.isEmpty(),"No Font Name !"); - GetFontAutoStylePool()->Add(aFont.Name,aFont.StyleName,aFont.Family,aFont.Pitch,aFont.CharSet ); + GetFontAutoStylePool()->Add(aFont.Name,aFont.StyleName,static_cast<FontFamily>(aFont.Family), + static_cast<FontPitch>(aFont.Pitch),aFont.CharSet ); } catch(beans::UnknownPropertyException&) { |