From 19a32ddfd2b9c1beb17641e99f139ac0d3dcaf96 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 13 May 2015 10:53:15 +0200 Subject: convert KERNING_ constants to scoped enum Change-Id: I58031485aaa9ebdeb986a3ee0376f36a9f667947 --- toolkit/source/helper/vclunohelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit') 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(rDescr.Kerning) ); aFont.SetWordLineMode( rDescr.WordLineMode ); return aFont; -- cgit v1.2.3