Replace XFA_HDOC with IXFA_Doc*
authorTom Sepez <tsepez@chromium.org>
Wed, 27 May 2015 23:36:35 +0000 (16:36 -0700)
committerTom Sepez <tsepez@chromium.org>
Wed, 27 May 2015 23:36:35 +0000 (16:36 -0700)
commit18e5b4b41dc622d4601be538934272678beb7069
treec81e775531cd328143d1ffd4f2bb6277627e8e76
parent04db653b2b4c266036fbd274b53f0763e35f4ee6
Replace XFA_HDOC with IXFA_Doc*

There are better ways to provide information hiding than casting
willy-nilly from an unrelated structure.  Kill dozens of casts in
the process.

R=thestig@chromium.org

Review URL: https://codereview.chromium.org/1146153005
27 files changed:
fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h
fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp
fpdfsdk/src/fpdfxfa/fpdfxfa_page.cpp
xfa/include/fxfa/fxfa.h
xfa/src/fxfa/src/app/xfa_ffapp.cpp
xfa/src/fxfa/src/app/xfa_ffapp.h
xfa/src/fxfa/src/app/xfa_ffdoc.cpp
xfa/src/fxfa/src/app/xfa_ffdoc.h
xfa/src/fxfa/src/app/xfa_ffdochandler.cpp
xfa/src/fxfa/src/app/xfa_ffdochandler.h
xfa/src/fxfa/src/app/xfa_ffdocview.cpp
xfa/src/fxfa/src/app/xfa_ffdocview.h
xfa/src/fxfa/src/app/xfa_fffield.cpp
xfa/src/fxfa/src/app/xfa_ffnotify.cpp
xfa/src/fxfa/src/app/xfa_ffnotify.h
xfa/src/fxfa/src/app/xfa_fftext.cpp
xfa/src/fxfa/src/app/xfa_fftextedit.cpp
xfa/src/fxfa/src/app/xfa_ffwidget.cpp
xfa/src/fxfa/src/app/xfa_ffwidgetacc.cpp
xfa/src/fxfa/src/app/xfa_ffwidgethandler.cpp
xfa/src/fxfa/src/app/xfa_fontmgr.cpp
xfa/src/fxfa/src/app/xfa_fontmgr.h
xfa/src/fxfa/src/app/xfa_textlayout.cpp
xfa/src/fxfa/src/common/xfa_document.h
xfa/src/fxfa/src/parser/xfa_script_hostpseudomodel.cpp
xfa/src/fxfa/src/parser/xfa_script_layoutpseudomodel.cpp
xfa/src/fxfa/src/parser/xfa_script_signaturepseudomodel.cpp