diff options
Diffstat (limited to 'xfa/fwl/theme/cfwl_edittp.cpp')
-rw-r--r-- | xfa/fwl/theme/cfwl_edittp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fwl/theme/cfwl_edittp.cpp b/xfa/fwl/theme/cfwl_edittp.cpp index c01d5c9158..9b8497a41e 100644 --- a/xfa/fwl/theme/cfwl_edittp.cpp +++ b/xfa/fwl/theme/cfwl_edittp.cpp @@ -25,10 +25,10 @@ void CFWL_EditTP::DrawBackground(CFWL_ThemeBackground* pParams) { FX_ARGB cr = 0xFF000000; float fWidth = 1.0f; if (borderUIData) { - CXFA_Edge edge = borderUIData.GetEdge(0); - if (edge) { - cr = edge.GetColor(); - fWidth = edge.GetThickness(); + CXFA_EdgeData edgeData = borderUIData.GetEdgeData(0); + if (edgeData) { + cr = edgeData.GetColor(); + fWidth = edgeData.GetThickness(); } } pParams->m_pGraphics->SetStrokeColor(CXFA_Color(cr)); |