summaryrefslogtreecommitdiff
path: root/xfa/fwl
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl')
-rw-r--r--xfa/fwl/cfwl_themebackground.h2
-rw-r--r--xfa/fwl/theme/cfwl_listboxtp.cpp5
2 files changed, 0 insertions, 7 deletions
diff --git a/xfa/fwl/cfwl_themebackground.h b/xfa/fwl/cfwl_themebackground.h
index 81fa0a2212..33a0e857f2 100644
--- a/xfa/fwl/cfwl_themebackground.h
+++ b/xfa/fwl/cfwl_themebackground.h
@@ -10,7 +10,6 @@
#include "core/fxge/fx_dib.h"
#include "xfa/fwl/cfwl_themepart.h"
-class CFX_DIBitmpa;
class CXFA_Graphics;
class CXFA_GEPath;
@@ -21,7 +20,6 @@ class CFWL_ThemeBackground : public CFWL_ThemePart {
CXFA_Graphics* m_pGraphics;
CXFA_GEPath* m_pPath;
- RetainPtr<CFX_DIBitmap> m_pImage;
};
inline CFWL_ThemeBackground::CFWL_ThemeBackground()
diff --git a/xfa/fwl/theme/cfwl_listboxtp.cpp b/xfa/fwl/theme/cfwl_listboxtp.cpp
index c977b21120..6b8aa768a5 100644
--- a/xfa/fwl/theme/cfwl_listboxtp.cpp
+++ b/xfa/fwl/theme/cfwl_listboxtp.cpp
@@ -39,11 +39,6 @@ void CFWL_ListBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) {
&pParams->m_rtPart, pParams->m_pData, &pParams->m_matrix);
break;
}
- case CFWL_Part::Icon: {
- pParams->m_pGraphics->StretchImage(pParams->m_pImage, pParams->m_rtPart,
- pParams->m_matrix);
- break;
- }
case CFWL_Part::Check: {
uint32_t color = 0xFF000000;
if (pParams->m_dwStates == CFWL_PartState_Checked) {