Index: xfa/fxfa/app/xfa_ffwidget.cpp |
diff --git a/xfa/fxfa/app/xfa_ffwidget.cpp b/xfa/fxfa/app/xfa_ffwidget.cpp |
index c0c559aaf560ab276656110b54d54433de82d177..a21fbcab6286c564a9c58ef9d41efa66c4c28f58 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; |