diff options
Diffstat (limited to 'fpdfsdk/src/fpdf_dataavail.cpp')
-rw-r--r-- | fpdfsdk/src/fpdf_dataavail.cpp | 12 |
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() |