summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_pictureboxtp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/theme/cfwl_pictureboxtp.cpp')
-rw-r--r--xfa/fwl/theme/cfwl_pictureboxtp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fwl/theme/cfwl_pictureboxtp.cpp b/xfa/fwl/theme/cfwl_pictureboxtp.cpp
index 27abbe27e3..6a30113cf7 100644
--- a/xfa/fwl/theme/cfwl_pictureboxtp.cpp
+++ b/xfa/fwl/theme/cfwl_pictureboxtp.cpp
@@ -19,10 +19,10 @@ void CFWL_PictureBoxTP::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;
- }
default:
break;
}