diff options
-rw-r--r-- | xfa/fwl/theme/cfwl_widgettp.cpp | 6 | ||||
-rw-r--r-- | xfa/fwl/theme/cfwl_widgettp.h | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/xfa/fwl/theme/cfwl_widgettp.cpp b/xfa/fwl/theme/cfwl_widgettp.cpp index 2b713979ba..ab8256ce83 100644 --- a/xfa/fwl/theme/cfwl_widgettp.cpp +++ b/xfa/fwl/theme/cfwl_widgettp.cpp @@ -118,7 +118,7 @@ void* CFWL_WidgetTP::GetCapacity(CFWL_ThemePart* pThemePart, } bool CFWL_WidgetTP::IsCustomizedLayout(IFWL_Widget* pWidget) { - return !!FWL_GetThemeLayout(0); + return false; } void CFWL_WidgetTP::CalcTextRect(CFWL_ThemeText* pParams, CFX_RectF& rect) { @@ -695,10 +695,6 @@ void FWLTHEME_Release() { CFWL_FontManager::DestroyInstance(); } -uint32_t FWL_GetThemeLayout(uint32_t dwThemeID) { - return 0xffff0000 & dwThemeID; -} - uint32_t FWL_GetThemeColor(uint32_t dwThemeID) { return 0x0000ffff & dwThemeID; } diff --git a/xfa/fwl/theme/cfwl_widgettp.h b/xfa/fwl/theme/cfwl_widgettp.h index b269fb2b04..bc546453d0 100644 --- a/xfa/fwl/theme/cfwl_widgettp.h +++ b/xfa/fwl/theme/cfwl_widgettp.h @@ -219,7 +219,6 @@ class CFWL_WidgetTP { }; void FWLTHEME_Release(); -uint32_t FWL_GetThemeLayout(uint32_t dwThemeID); uint32_t FWL_GetThemeColor(uint32_t dwThemeID); class CFWL_FontData { |