summaryrefslogtreecommitdiff
path: root/starmath/source/dialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r--starmath/source/dialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 868254f60d79..42cb77684bf1 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -310,9 +310,9 @@ IMPL_LINK( SmFontDialog, FontModifyHdl, Edit&, rEdit, void )
IMPL_LINK_NOARG( SmFontDialog, AttrChangeHdl, Button*, void )
{
if (m_pBoldCheckBox->IsChecked())
- maFont.SetWeight(FontWeight(WEIGHT_BOLD));
+ maFont.SetWeight(WEIGHT_BOLD);
else
- maFont.SetWeight(FontWeight(WEIGHT_NORMAL));
+ maFont.SetWeight(WEIGHT_NORMAL);
if (m_pItalicCheckBox->IsChecked())
maFont.SetItalic(ITALIC_NORMAL);