diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-13 10:53:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-14 12:00:40 +0200 |
commit | 19a32ddfd2b9c1beb17641e99f139ac0d3dcaf96 (patch) | |
tree | e2895b10ec66bae2ec47da748cf2848dea0bffa9 /toolkit/source | |
parent | 3c0805e1f4f4d14e92c7e655d59c87de5c207e48 (diff) |
convert KERNING_ constants to scoped enum
Change-Id: I58031485aaa9ebdeb986a3ee0376f36a9f667947
Diffstat (limited to 'toolkit/source')
-rw-r--r-- | toolkit/source/helper/vclunohelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/helper/vclunohelper.cxx b/toolkit/source/helper/vclunohelper.cxx index 005caccf8871..d8245c88fcaf 100644 --- a/toolkit/source/helper/vclunohelper.cxx +++ b/toolkit/source/helper/vclunohelper.cxx @@ -412,7 +412,7 @@ vcl::Font VCLUnoHelper::CreateFont( const ::com::sun::star::awt::FontDescriptor& // Kein DONTKNOW aFont.SetOrientation( (short)rDescr.Orientation ); - aFont.SetKerning( rDescr.Kerning ); + aFont.SetKerning( static_cast<FontKerning>(rDescr.Kerning) ); aFont.SetWordLineMode( rDescr.WordLineMode ); return aFont; |