From 50ac0f503b763d08aef4a193c38e64b70220bfba Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 8 May 2016 09:21:17 +0200 Subject: convert FONT_EMPHASIS_MARK to scoped enum Change-Id: I137c78b337e57d3442db08334128e79d186b278f Reviewed-on: https://gerrit.libreoffice.org/24753 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- toolkit/source/awt/vclxwindow.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toolkit/source') diff --git a/toolkit/source/awt/vclxwindow.cxx b/toolkit/source/awt/vclxwindow.cxx index 5f896a93b116..2b0269c06105 100644 --- a/toolkit/source/awt/vclxwindow.cxx +++ b/toolkit/source/awt/vclxwindow.cxx @@ -1569,7 +1569,7 @@ void VCLXWindow::setProperty( const OUString& PropertyName, const css::uno::Any& if ( Value >>= n ) { vcl::Font aFont = pWindow->GetControlFont(); - aFont.SetEmphasisMark( n ); + aFont.SetEmphasisMark( (FontEmphasisMark)n ); pWindow->SetControlFont( aFont ); } } -- cgit