summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fpdftext.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-11 14:00:52 -0700
committerLei Zhang <thestig@chromium.org>2015-06-11 14:00:52 -0700
commitcf2e4c3ecc2a66f0a01e6a1d8c20dcb73e4b8024 (patch)
treedbe0f7d7435d7abb7a939b8ce0e0745e198ee8b1 /fpdfsdk/src/fpdftext.cpp
parent864773a57a54763b97bef7d38f65375b15c14437 (diff)
downloadpdfium-cf2e4c3ecc2a66f0a01e6a1d8c20dcb73e4b8024.tar.xz
Remove trailing whitespaces in fpdfsdk.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1173343004.
Diffstat (limited to 'fpdfsdk/src/fpdftext.cpp')
-rw-r--r--fpdfsdk/src/fpdftext.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/fpdfsdk/src/fpdftext.cpp b/fpdfsdk/src/fpdftext.cpp
index a25b153cd4..1840247b95 100644
--- a/fpdfsdk/src/fpdftext.cpp
+++ b/fpdfsdk/src/fpdftext.cpp
@@ -1,7 +1,7 @@
// Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
+
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "../../public/fpdf_text.h"
@@ -65,7 +65,7 @@ DLLEXPORT void STDCALL FPDFText_GetCharBox(FPDF_TEXTPAGE text_page, int index,do
{
if (!text_page) return;
IPDF_TextPage* textpage=(IPDF_TextPage*)text_page;
-
+
if (index<0 || index>=textpage->CountChars()) return ;
FPDF_CHAR_INFO charinfo;
textpage->GetCharInfo(index,charinfo);
@@ -87,7 +87,7 @@ DLLEXPORT int STDCALL FPDFText_GetText(FPDF_TEXTPAGE text_page,int start,int cou
{
if (!text_page) return 0;
IPDF_TextPage* textpage=(IPDF_TextPage*)text_page;
-
+
if (start>=textpage->CountChars()) return 0;
CFX_WideString str=textpage->GetPageText(start,count);
@@ -121,7 +121,7 @@ DLLEXPORT void STDCALL FPDFText_GetRect(FPDF_TEXTPAGE text_page,int rect_index,
*bottom=rect.bottom;
}
-DLLEXPORT int STDCALL FPDFText_GetBoundedText(FPDF_TEXTPAGE text_page,double left, double top,
+DLLEXPORT int STDCALL FPDFText_GetBoundedText(FPDF_TEXTPAGE text_page,double left, double top,
double right, double bottom,unsigned short* buffer,int buflen)
{
if (!text_page) return 0;
@@ -141,7 +141,7 @@ DLLEXPORT int STDCALL FPDFText_GetBoundedText(FPDF_TEXTPAGE text_page,double lef
cbUTF16Str.ReleaseBuffer(size*sizeof(unsigned short));
return size;
-
+
}
//Search