summaryrefslogtreecommitdiff
path: root/core/src/fpdftext
diff options
context:
space:
mode:
authorBo Xu <bo_xu@foxitsoftware.com>2014-12-19 02:27:25 -0800
committerBo Xu <bo_xu@foxitsoftware.com>2014-12-19 14:53:21 -0800
commitd44e39279b08c0954f07283b4fb3e7f3e292e4de (patch)
tree71d46bfeeec112c42cc2ba96b2457d4892540fd2 /core/src/fpdftext
parent8f8ae8f7cbe1a87f2154f2584dd79af90065f16e (diff)
downloadpdfium-d44e39279b08c0954f07283b4fb3e7f3e292e4de.tar.xz
XFA: merge patch from CL 817753002
Fix a few windows compile warnings R=tsepez@chromium.org Review URL: https://codereview.chromium.org/817753002
Diffstat (limited to 'core/src/fpdftext')
-rw-r--r--core/src/fpdftext/fpdf_text_int.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/src/fpdftext/fpdf_text_int.cpp b/core/src/fpdftext/fpdf_text_int.cpp
index 3d4bc36ed5..c8369fda1f 100644
--- a/core/src/fpdftext/fpdf_text_int.cpp
+++ b/core/src/fpdftext/fpdf_text_int.cpp
@@ -1887,7 +1887,6 @@ void CPDF_TextPage::ProcessTextObject(PDFTEXT_Obj Obj)
FX_WCHAR * pTempBuffer = m_TempTextBuf.GetBuffer();
i = iBufStartAppend;
j = m_TempTextBuf.GetLength() - 1;
- FX_WCHAR wTemp;
for (; i < j; i++, j--) {
std::swap(pTempBuffer[i], pTempBuffer[j]);
}