summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fpdf_dataavail.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_dataavail.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_dataavail.cpp')
-rw-r--r--fpdfsdk/src/fpdf_dataavail.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/fpdfsdk/src/fpdf_dataavail.cpp b/fpdfsdk/src/fpdf_dataavail.cpp
index d0f0a4ac90..7189dc0788 100644
--- a/fpdfsdk/src/fpdf_dataavail.cpp
+++ b/fpdfsdk/src/fpdf_dataavail.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_dataavail.h"
@@ -31,7 +31,7 @@ public:
private:
FX_FILEAVAIL* m_pfileAvail;
-};
+};
class CFPDF_FileAccessWrap : public IFX_FileRead
{
@@ -48,7 +48,7 @@ public:
virtual FX_FILESIZE GetSize()
{
- return m_pFileAccess->m_FileLen;
+ return m_pFileAccess->m_FileLen;
}
virtual FX_BOOL ReadBlock(void* buffer, FX_FILESIZE offset, size_t size)
@@ -72,15 +72,15 @@ public:
m_pDownloadHints = pDownloadHints;
}
public:
- virtual void AddSegment(FX_FILESIZE offset, FX_DWORD size)
+ virtual void AddSegment(FX_FILESIZE offset, FX_DWORD size)
{
m_pDownloadHints->AddSegment(m_pDownloadHints, offset, size);
- }
+ }
private:
FX_DOWNLOADHINTS* m_pDownloadHints;
};
-class CFPDF_DataAvail
+class CFPDF_DataAvail
{
public:
CFPDF_DataAvail()