diff options
Diffstat (limited to 'xfa/fwl/theme/cfwl_barcodetp.cpp')
-rw-r--r-- | xfa/fwl/theme/cfwl_barcodetp.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/xfa/fwl/theme/cfwl_barcodetp.cpp b/xfa/fwl/theme/cfwl_barcodetp.cpp index cafdf17933..52e0c9fa5b 100644 --- a/xfa/fwl/theme/cfwl_barcodetp.cpp +++ b/xfa/fwl/theme/cfwl_barcodetp.cpp @@ -19,15 +19,14 @@ void CFWL_BarcodeTP::DrawBackground(CFWL_ThemeBackground* pParams) { return; switch (pParams->m_iPart) { - case CFWL_Part::Border: { - DrawBorder(pParams->m_pGraphics, &pParams->m_rtPart, &pParams->m_matrix); + case CFWL_Part::Border: + DrawBorder(pParams->m_pGraphics.Get(), &pParams->m_rtPart, + &pParams->m_matrix); break; - } - case CFWL_Part::Background: { - FillBackground(pParams->m_pGraphics, &pParams->m_rtPart, + case CFWL_Part::Background: + FillBackground(pParams->m_pGraphics.Get(), &pParams->m_rtPart, &pParams->m_matrix); break; - } default: break; } |