summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fpdf_ext.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-13 00:48:38 -0700
committerLei Zhang <thestig@chromium.org>2015-06-13 00:48:38 -0700
commita6d9f0edce07194f551db4c38bb427fbf7d550cf (patch)
tree5ab405c2afde59f7c78c0298992b25fe8566de3b /fpdfsdk/src/fpdf_ext.cpp
parentbef3c6d1fe83c0d1a84ace5c501932ed39651a74 (diff)
downloadpdfium-a6d9f0edce07194f551db4c38bb427fbf7d550cf.tar.xz
Remove trailing whitespaces in fpdfsdk, XFA edition.
Review URL: https://codereview.chromium.org/1185843005.
Diffstat (limited to 'fpdfsdk/src/fpdf_ext.cpp')
-rw-r--r--fpdfsdk/src/fpdf_ext.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/fpdfsdk/src/fpdf_ext.cpp b/fpdfsdk/src/fpdf_ext.cpp
index 2dd242b372..f40023b9cc 100644
--- a/fpdfsdk/src/fpdf_ext.cpp
+++ b/fpdfsdk/src/fpdf_ext.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_ext.h"
@@ -43,7 +43,7 @@ FX_BOOL FPDF_UnSupportError(int nError)
return FALSE;
pAdapter->ReportError(nError);
return TRUE;
-}
+}
DLLEXPORT FPDF_BOOL STDCALL FSDK_SetUnSpObjProcessHandler(UNSUPPORT_INFO* unsp_info)
{
@@ -95,22 +95,22 @@ void CheckUnSupportAnnot(CPDF_Document * pDoc, CPDF_Annot* pPDFAnnot)
if(pAnnotDict->KeyExist("FT"))
{
cbString = pAnnotDict->GetString("FT");
- }
+ }
if(cbString.Compare("Sig") == 0)
{
FPDF_UnSupportError(FPDF_UNSP_ANNOT_SIG);
}
}
-
+
}
FX_BOOL CheckSharedForm(CXML_Element * pElement, CFX_ByteString cbName)
{
int count = pElement->CountAttrs();
int i=0;
- for (i = 0; i < count; i++)
+ for (i = 0; i < count; i++)
{
- CFX_ByteString space, name;
+ CFX_ByteString space, name;
CFX_WideString value;
pElement->GetAttrByIndex(i, space, name, value);
if (space == FX_BSTRC("xmlns") && name == FX_BSTRC("adhocwf") && value == L"http://ns.adobe.com/AcrobatAdhocWorkflow/1.0/")
@@ -160,7 +160,7 @@ void CheckUnSupportError(CPDF_Document * pDoc, FX_DWORD err_code)
if(!pDoc)
return ;
- // Portfolios and Packages
+ // Portfolios and Packages
CPDF_Dictionary * pRootDict = pDoc->GetRoot();
if(pRootDict)
{