summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-11 17:37:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-11 17:37:53 +0100
commitc45f9bc43d00a8957462807aee41c878fe48036f (patch)
tree8d417ca24afde6cb0beb25a0cf1be2594bd6a7eb /forms
parent70a2cfc091f9cc9c4421640bf7c925d1e7336485 (diff)
loplugin:redundantcast: forms
(after a to-be-committed improved loplugin:cstylecast would have rewritten the C-style casts into static_casts) Change-Id: Ife5e10c33c8e6abefd303445b8820c0d6f2d3307
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/formcontrolfont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/formcontrolfont.cxx b/forms/source/component/formcontrolfont.cxx
index 3742c7a1a959..e65d6b0592f6 100644
--- a/forms/source/component/formcontrolfont.cxx
+++ b/forms/source/component/formcontrolfont.cxx
@@ -92,7 +92,7 @@ namespace frm
break;
case PROPERTY_ID_FONT_WEIGHT:
- aValue <<= (float)_rFont.Weight;
+ aValue <<= _rFont.Weight;
break;
case PROPERTY_ID_FONT_SLANT: