Index: fpdfsdk/fpdf_flatten.cpp |
diff --git a/fpdfsdk/fpdf_flatten.cpp b/fpdfsdk/fpdf_flatten.cpp |
index fe81246a0b56e401ca575e2d3f6a0dbc551a0b2b..2d11bfee7b76f0e679e1898b776a45acbc36cfcb 100644 |
--- a/fpdfsdk/fpdf_flatten.cpp |
+++ b/fpdfsdk/fpdf_flatten.cpp |
@@ -482,8 +482,8 @@ DLLEXPORT int STDCALL FPDFPage_Flatten(FPDF_PAGE page, int nFlag) { |
CFX_ByteString sFormName; |
sFormName.Format("F%d", i); |
- uint32_t dwObjNum = pDocument->AddIndirectObject(pObj); |
- pXObject->SetAtReference(sFormName, pDocument, dwObjNum); |
+ uint32_t dwStreamObjNum = pDocument->AddIndirectObject(pObj); |
+ pXObject->SetAtReference(sFormName, pDocument, dwStreamObjNum); |
CPDF_StreamAcc acc; |
acc.LoadAllData(pNewXObject); |