Index: xfa/src/fxfa/src/app/xfa_ffwidget.cpp |
diff --git a/xfa/src/fxfa/src/app/xfa_ffwidget.cpp b/xfa/src/fxfa/src/app/xfa_ffwidget.cpp |
index 30569ef4a3bfc0821ddee6f10cdb0885721b445a..e8138397e056759cee0f519aae3fba19ad058a67 100644 |
--- a/xfa/src/fxfa/src/app/xfa_ffwidget.cpp |
+++ b/xfa/src/fxfa/src/app/xfa_ffwidget.cpp |
@@ -68,24 +68,21 @@ void CXFA_FFWidget::GetRectWithoutRotate(CFX_RectF& rtWidget) { |
FX_DWORD CXFA_FFWidget::GetStatus() { |
return m_dwStatus; |
} |
+ |
void CXFA_FFWidget::ModifyStatus(FX_DWORD dwAdded, FX_DWORD dwRemoved) { |
m_dwStatus = (m_dwStatus & ~dwRemoved) | dwAdded; |
} |
+ |
FX_BOOL CXFA_FFWidget::GetBBox(CFX_RectF& rtBox, |
FX_DWORD dwStatus, |
FX_BOOL bDrawFocus) { |
- if (bDrawFocus) { |
+ if (bDrawFocus) |
return FALSE; |
- } |
-#ifndef _XFA_EMB |
- if (m_pPageView) { |
+ if (m_pPageView) |
m_pPageView->GetPageViewRect(rtBox); |
- } |
- return TRUE; |
-#endif |
- GetWidgetRect(rtBox); |
return TRUE; |
} |
+ |
CXFA_WidgetAcc* CXFA_FFWidget::GetDataAcc() { |
return m_pDataAcc; |
} |