Index: xfa/fxfa/app/xfa_ffwidget.cpp |
diff --git a/xfa/fxfa/app/xfa_ffwidget.cpp b/xfa/fxfa/app/xfa_ffwidget.cpp |
index 0e84ad6be571bce957f33b610f4b5eda26a8e7d4..19c63b8c7312286e688985d7b8e39fb91199645c 100644 |
--- a/xfa/fxfa/app/xfa_ffwidget.cpp |
+++ b/xfa/fxfa/app/xfa_ffwidget.cpp |
@@ -44,6 +44,11 @@ CXFA_FFPageView* CXFA_FFWidget::GetPageView() { |
void CXFA_FFWidget::SetPageView(CXFA_FFPageView* pPageView) { |
m_pPageView = pPageView; |
} |
+ |
+const IFWL_App* CXFA_FFWidget::GetFWLApp() { |
+ return GetPageView()->GetDocView()->GetDoc()->GetApp()->GetFWLApp(); |
+} |
+ |
void CXFA_FFWidget::GetWidgetRect(CFX_RectF& rtWidget) { |
if ((m_dwStatus & XFA_WidgetStatus_RectCached) == 0) { |
m_dwStatus |= XFA_WidgetStatus_RectCached; |