summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-08 13:32:41 +0200
committerNoel Grandin <noel@peralex.com>2016-06-08 13:39:00 +0200
commit6d78ce11e1215a1c284585b4811aa0eeedd7187c (patch)
tree18031c3f00534a01d91851aa85130508fbd06720 /cui
parent6b6e82c555c7c10c9af73119ce25ad69867f49d2 (diff)
loplugin:cstylecast
Change-Id: I412f88094269ba111a984b714202b58d96758a20
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/tpcolor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx
index c3f4a1b49e42..ae40b60b95f7 100644
--- a/cui/source/tabpages/tpcolor.cxx
+++ b/cui/source/tabpages/tpcolor.cxx
@@ -689,7 +689,7 @@ IMPL_LINK_TYPED(SvxColorTabPage, ModifiedHdl_Impl, Edit&, rEdit, void)
{
// read current MtrFields, if cmyk, then k-value as transparency
if(&rEdit == m_pHexcustom)
- aCurrentColor = (Color)m_pHexcustom->GetColor();
+ aCurrentColor = Color(m_pHexcustom->GetColor());
else
{
aCurrentColor.SetColor ( Color( (sal_uInt8)PercentToColor_Impl( (sal_uInt16) m_pRcustom->GetValue() ),