cui/source/tabpages/tpcolor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 6d78ce11e1215a1c284585b4811aa0eeedd7187c Author: Noel Grandin <n...@peralex.com> Date: Wed Jun 8 13:32:41 2016 +0200 loplugin:cstylecast Change-Id: I412f88094269ba111a984b714202b58d96758a20 diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx index c3f4a1b..ae40b60 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() ), _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits