Index: core/fpdftext/fpdf_text_int.cpp |
diff --git a/core/fpdftext/fpdf_text_int.cpp b/core/fpdftext/fpdf_text_int.cpp |
index 0b237972fb2c8a4d084326651fe58009beb2f5e0..c6de46e7bcf24bf69237bb97494e1d4e9777d7ce 100644 |
--- a/core/fpdftext/fpdf_text_int.cpp |
+++ b/core/fpdftext/fpdf_text_int.cpp |
@@ -1803,7 +1803,8 @@ FX_BOOL CPDF_TextPage::IsSameTextObject(CPDF_TextObject* pTextObj1, |
if (nPreCount != nCurCount) { |
return FALSE; |
} |
- CPDF_TextObjectItem itemPer, itemCur; |
+ CPDF_TextObjectItem itemPer = {0, 0.0f, 0.0f}; |
Tom Sepez
2016/03/16 18:34:58
We may want to ping the fx folks here. Did the in
Wei Li
2016/03/17 02:24:05
Sure, I will have another CL for this.
|
+ CPDF_TextObjectItem itemCur = {0, 0.0f, 0.0f}; |
for (int i = 0; i < nPreCount; i++) { |
pTextObj2->GetItemInfo(i, &itemPer); |
pTextObj1->GetItemInfo(i, &itemCur); |