summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-04 11:44:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-04 12:34:15 +0100
commit65edd168159cf1d202b930439f6877ae8b9d3dcd (patch)
treed7f921b691d9c763f6f03155dafff7f1c87d7fe5 /svx
parentd5bafdddf884d4d6febd1e20d5f207e34fe77b5a (diff)
coverity#705389 Mixing enum types
Change-Id: I3e2d5e6eb6005fd4f820a742d1b0e9eb6dafca6f
Diffstat (limited to 'svx')
-rw-r--r--svx/source/fmcomp/fmgridif.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/fmcomp/fmgridif.cxx b/svx/source/fmcomp/fmgridif.cxx
index 902c821ab8d6..c12770ea9c94 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -90,7 +90,7 @@ using ::com::sun::star::awt::XVclWindowPeer;
aFD.Pitch = (sal_Int16)rFont.GetPitch();
aFD.CharacterWidth = VCLUnoHelper::ConvertFontWidth( rFont.GetWidthType() );
aFD.Weight= VCLUnoHelper::ConvertFontWeight( rFont.GetWeight() );
- aFD.Slant = (::com::sun::star::awt::FontSlant)rFont.GetItalic();
+ aFD.Slant = VCLUnoHelper::ConvertFontSlant( rFont.GetItalic() );
aFD.Underline = (sal_Int16)rFont.GetUnderline();
aFD.Strikeout = (sal_Int16)rFont.GetStrikeout();
aFD.Orientation = rFont.GetOrientation();