Kaydet (Commit) 6d78ce11 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:cstylecast

Change-Id: I412f88094269ba111a984b714202b58d96758a20
üst 6b6e82c5
...@@ -689,7 +689,7 @@ IMPL_LINK_TYPED(SvxColorTabPage, ModifiedHdl_Impl, Edit&, rEdit, void) ...@@ -689,7 +689,7 @@ IMPL_LINK_TYPED(SvxColorTabPage, ModifiedHdl_Impl, Edit&, rEdit, void)
{ {
// read current MtrFields, if cmyk, then k-value as transparency // read current MtrFields, if cmyk, then k-value as transparency
if(&rEdit == m_pHexcustom) if(&rEdit == m_pHexcustom)
aCurrentColor = (Color)m_pHexcustom->GetColor(); aCurrentColor = Color(m_pHexcustom->GetColor());
else else
{ {
aCurrentColor.SetColor ( Color( (sal_uInt8)PercentToColor_Impl( (sal_uInt16) m_pRcustom->GetValue() ), aCurrentColor.SetColor ( Color( (sal_uInt8)PercentToColor_Impl( (sal_uInt16) m_pRcustom->GetValue() ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment