Index: xfa/fwl/cfwl_widget.cpp |
diff --git a/xfa/fwl/cfwl_widget.cpp b/xfa/fwl/cfwl_widget.cpp |
index a1ed56fb0862195e2094e82c4810aa43e4f6b9f6..4c6eefafda17247904505f95223ae017fe0d1c98 100644 |
--- a/xfa/fwl/cfwl_widget.cpp |
+++ b/xfa/fwl/cfwl_widget.cpp |
@@ -279,7 +279,7 @@ bool CFWL_Widget::HasBorder() const { |
} |
bool CFWL_Widget::HasEdge() const { |
- return !!(m_pProperties->m_dwStyles & FWL_WGTSTYLE_EdgeMask); |
+ return false; |
} |
bool CFWL_Widget::IsVisible() const { |
@@ -323,25 +323,6 @@ FX_FLOAT CFWL_Widget::GetBorderSize(bool bCX) { |
} |
FX_FLOAT CFWL_Widget::GetEdgeWidth() { |
- CFWL_WidgetCapacity dwCapacity = CFWL_WidgetCapacity::None; |
- switch (m_pProperties->m_dwStyles & FWL_WGTSTYLE_EdgeMask) { |
- case FWL_WGTSTYLE_EdgeFlat: { |
- dwCapacity = CFWL_WidgetCapacity::EdgeFlat; |
- break; |
- } |
- case FWL_WGTSTYLE_EdgeRaised: { |
- dwCapacity = CFWL_WidgetCapacity::EdgeRaised; |
- break; |
- } |
- case FWL_WGTSTYLE_EdgeSunken: { |
- dwCapacity = CFWL_WidgetCapacity::EdgeSunken; |
- break; |
- } |
- } |
- if (dwCapacity != CFWL_WidgetCapacity::None) { |
- FX_FLOAT* fRet = static_cast<FX_FLOAT*>(GetThemeCapacity(dwCapacity)); |
- return fRet ? *fRet : 0; |
- } |
return 0; |
} |