summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme/cfwl_widgettp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fwl/theme/cfwl_widgettp.cpp')
-rw-r--r--xfa/fwl/theme/cfwl_widgettp.cpp6
1 files changed, 1 insertions, 5 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;
}