summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-05-13 10:53:15 +0200
committerNoel Grandin <noel@peralex.com>2015-05-14 12:00:40 +0200
commit19a32ddfd2b9c1beb17641e99f139ac0d3dcaf96 (patch)
treee2895b10ec66bae2ec47da748cf2848dea0bffa9 /svx
parent3c0805e1f4f4d14e92c7e655d59c87de5c207e48 (diff)
convert KERNING_ constants to scoped enum
Change-Id: I58031485aaa9ebdeb986a3ee0376f36a9f667947
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 35b992a787ec..e78f3a85c910 100644
--- a/svx/source/fmcomp/fmgridif.cxx
+++ b/svx/source/fmcomp/fmgridif.cxx
@@ -117,7 +117,7 @@ vcl::Font ImplCreateFont( const ::com::sun::star::awt::FontDescriptor& rDescr )
aFont.SetUnderline( (::FontUnderline)rDescr.Underline );
aFont.SetStrikeout( (::FontStrikeout)rDescr.Strikeout );
aFont.SetOrientation( (sal_Int16)rDescr.Orientation );
- aFont.SetKerning( rDescr.Kerning );
+ aFont.SetKerning( static_cast<FontKerning>(rDescr.Kerning) );
aFont.SetWordLineMode( rDescr.WordLineMode );
return aFont;
}