diff options
Diffstat (limited to 'xfa/fwl')
-rw-r--r-- | xfa/fwl/theme/cfwl_edittp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/theme/cfwl_edittp.cpp b/xfa/fwl/theme/cfwl_edittp.cpp index a1df805df0..599a4dda69 100644 --- a/xfa/fwl/theme/cfwl_edittp.cpp +++ b/xfa/fwl/theme/cfwl_edittp.cpp @@ -27,7 +27,7 @@ void CFWL_EditTP::DrawBackground(CFWL_ThemeBackground* pParams) { FX_ARGB cr = 0xFF000000; float fWidth = 1.0f; if (borderUI) { - CXFA_Edge* edge = borderUI->GetEdge(0); + CXFA_Edge* edge = borderUI->GetEdgeIfExists(0); if (edge) { cr = edge->GetColor(); fWidth = edge->GetThickness(); |