diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-06-02 10:35:27 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-06-02 10:35:27 -0700 |
commit | eed467dcf3c661cddaecf4f996bc8964e7090cf9 (patch) | |
tree | 12eb9093d2760566d920ce2862b61371082e75a6 /xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp | |
parent | 56ba4292f1454f259b52a68dd962cc2d8c2027c8 (diff) | |
download | pdfium-eed467dcf3c661cddaecf4f996bc8964e7090cf9.tar.xz |
Replace XFA_HWIDGET with IXFA_Widget*
A second case of casting willy-nilly between unrelated structures
to provide information hiding. Bad Idea. Remove dozens of casts
in the process.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1155273002
Diffstat (limited to 'xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp')
-rw-r--r-- | xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp b/xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp index d953e2bbe3..a154d76392 100644 --- a/xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp +++ b/xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp @@ -752,7 +752,7 @@ void CXFA_WidgetAcc::NotifyEvent(FX_DWORD dwEvent, CXFA_FFWidget* pWidget , FX_L {
IXFA_DocProvider* pDocProvider = GetDoc()->GetDocProvider();
if (pWidget) {
- pDocProvider->WidgetEvent((XFA_HWIDGET)pWidget, this, dwEvent, pParam, pAdditional);
+ pDocProvider->WidgetEvent(pWidget, this, dwEvent, pParam, pAdditional);
} else {
pWidget = GetNextWidget(pWidget);
if (pWidget == NULL) {
@@ -760,7 +760,7 @@ void CXFA_WidgetAcc::NotifyEvent(FX_DWORD dwEvent, CXFA_FFWidget* pWidget , FX_L return;
}
while (pWidget) {
- pDocProvider->WidgetEvent((XFA_HWIDGET)pWidget, this, dwEvent, pParam, pAdditional);
+ pDocProvider->WidgetEvent(pWidget, this, dwEvent, pParam, pAdditional);
pWidget = GetNextWidget(pWidget);
}
}
|