Replace XFA_HDOC with IXFA_Doc*
[pdfium.git] / xfa / src / fxfa / src / parser / xfa_script_layoutpseudomodel.cpp
index a1eee3c..b2354b6 100644 (file)
@@ -33,7 +33,7 @@ void CScript_LayoutPseudoModel::Script_LayoutPseudoModel_Ready(FXJSE_HVALUE hVal
     if (!pNotify) {\r
         return;\r
     }\r
-    XFA_HDOC hDoc = pNotify->GetHDOC();\r
+    IXFA_Doc* hDoc = pNotify->GetHDOC();\r
     if (bSetting) {\r
         ThrowScriptErrorMessage(XFA_IDS_UNABLE_SET_READY);\r
         return;\r
@@ -369,7 +369,7 @@ void CScript_LayoutPseudoModel::Script_LayoutPseudoModel_AbsPageCountInBatch(CFX
     if (!pNotify) {\r
         return;\r
     }\r
-    XFA_HDOC hDoc = pNotify->GetHDOC();\r
+    IXFA_Doc* hDoc = pNotify->GetHDOC();\r
     FX_INT32 iPageCount = pNotify->GetDocProvider()->AbsPageCountInBatch(hDoc);\r
     FXJSE_HVALUE hValue =  pArguments->GetReturnValue();\r
     if (hValue) {\r
@@ -382,7 +382,7 @@ void CScript_LayoutPseudoModel::Script_LayoutPseudoModel_SheetCountInBatch(CFXJS
     if (!pNotify) {\r
         return;\r
     }\r
-    XFA_HDOC hDoc = pNotify->GetHDOC();\r
+    IXFA_Doc* hDoc = pNotify->GetHDOC();\r
     FX_INT32 iPageCount = pNotify->GetDocProvider()->SheetCountInBatch(hDoc);\r
     FXJSE_HVALUE hValue =  pArguments->GetReturnValue();\r
     if (hValue) {\r
@@ -431,7 +431,7 @@ void CScript_LayoutPseudoModel::Script_LayoutPseudoModel_AbsPageInBatch(CFXJSE_A
     if (!hWidget) {\r
         return;\r
     }\r
-    XFA_HDOC hDoc = pNotify->GetHDOC();\r
+    IXFA_Doc* hDoc = pNotify->GetHDOC();\r
     FX_INT32 iPageCount = pNotify->GetDocProvider()->AbsPageInBatch(hDoc, hWidget);\r
     FXJSE_HVALUE hValue =  pArguments->GetReturnValue();\r
     if (hValue) {\r
@@ -464,7 +464,7 @@ void CScript_LayoutPseudoModel::Script_LayoutPseudoModel_SheetInBatch(CFXJSE_Arg
     if (!hWidget) {\r
         return;\r
     }\r
-    XFA_HDOC hDoc = pNotify->GetHDOC();\r
+    IXFA_Doc* hDoc = pNotify->GetHDOC();\r
     FX_INT32 iPageCount = pNotify->GetDocProvider()->SheetInBatch(hDoc, hWidget);\r
     FXJSE_HVALUE hValue =  pArguments->GetReturnValue();\r
     if (hValue) {\r