summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-08 09:21:17 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-09 09:41:34 +0000
commit50ac0f503b763d08aef4a193c38e64b70220bfba (patch)
tree9e02808b2736ac75852060bb3367c8236b9ac334 /toolkit
parent26d314d2e25945941d49a4872d7ffa27cfc2fdc8 (diff)
convert FONT_EMPHASIS_MARK to scoped enum
Change-Id: I137c78b337e57d3442db08334128e79d186b278f Reviewed-on: https://gerrit.libreoffice.org/24753 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxwindow.cxx2
1 files changed, 1 insertions, 1 deletions
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 );
}
}