summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-06 11:58:38 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-06 11:41:46 +0000
commitf1945405b08cad5138345882cb68c64edeeabdae (patch)
treef0622d2970097e7e80050fcb19559844563334e1 /editeng
parent0840bc7957117b8913e3d7d5848bbc4524b4949e (diff)
loplugin:redundantcast check for c-style float casts
Change-Id: I86b6f58887cb398a80698f8d8564b5bc3f55eabb Reviewed-on: https://gerrit.libreoffice.org/36198 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/textitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index f3380c46fe89..3b4ef530d88a 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -649,7 +649,7 @@ bool SvxWeightItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
break;
case MID_WEIGHT:
{
- rVal <<= (float)( vcl::unohelper::ConvertFontWeight( GetValue() ) );
+ rVal <<= vcl::unohelper::ConvertFontWeight( GetValue() );
}
break;
}