Index: core/fpdfdoc/ctypeset.cpp |
diff --git a/core/fpdfdoc/ctypeset.cpp b/core/fpdfdoc/ctypeset.cpp |
index 076c9018851e772edd8f268a11b42c8f8cc59999..8c85e7992291cd59ef3dc9bcf164fbfdc87e5862 100644 |
--- a/core/fpdfdoc/ctypeset.cpp |
+++ b/core/fpdfdoc/ctypeset.cpp |
@@ -214,13 +214,11 @@ CPVT_FloatRect CTypeset::CharArray() { |
break; |
} |
fNextWidth = 0; |
- if (CPVT_WordInfo* pNextWord = |
- (CPVT_WordInfo*)m_pSection->m_WordArray.GetAt(w + 1)) { |
+ if (CPVT_WordInfo* pNextWord = m_pSection->m_WordArray.GetAt(w + 1)) { |
pNextWord->fWordTail = 0; |
fNextWidth = m_pVT->GetWordWidth(*pNextWord); |
} |
- if (CPVT_WordInfo* pWord = |
- (CPVT_WordInfo*)m_pSection->m_WordArray.GetAt(w)) { |
+ if (CPVT_WordInfo* pWord = m_pSection->m_WordArray.GetAt(w)) { |
pWord->fWordTail = 0; |
FX_FLOAT fWordWidth = m_pVT->GetWordWidth(*pWord); |
FX_FLOAT fWordAscent = m_pVT->GetWordAscent(*pWord); |