Replace XFA_HDOC with IXFA_Doc*
[pdfium.git] / xfa / src / fxfa / src / app / xfa_ffwidgetacc.cpp
index d51b1fa..d953e2b 100644 (file)
@@ -382,7 +382,7 @@ FX_INT32 CXFA_WidgetAcc::ProcessEvent(CXFA_Event& event, CXFA_EventParam* pEvent
             break;\r
         case XFA_ELEMENT_Submit: {\r
                 CXFA_Submit submit = event.GetSubmit();\r
-                return GetDoc()->GetDocProvider()->SubmitData((XFA_HDOC)GetDoc(), submit);\r
+                return GetDoc()->GetDocProvider()->SubmitData(GetDoc(), submit);\r
             }\r
         default:\r
             break;\r
@@ -1549,7 +1549,7 @@ IFX_Font* CXFA_WidgetAcc::GetFDEFont()
         font.GetTypeface(wsFontName);\r
     }\r
     CXFA_FFDoc* pDoc = GetDoc();\r
-    return pDoc->GetApp()->GetXFAFontMgr()->GetFont((XFA_HDOC)pDoc, wsFontName, dwFontStyle);\r
+    return pDoc->GetApp()->GetXFAFontMgr()->GetFont(pDoc, wsFontName, dwFontStyle);\r
 }\r
 FX_FLOAT CXFA_WidgetAcc::GetFontSize()\r
 {\r