summaryrefslogtreecommitdiff
path: root/xfa/fxfa/include/xfa_checksum.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/include/xfa_checksum.h')
-rw-r--r--xfa/fxfa/include/xfa_checksum.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/xfa/fxfa/include/xfa_checksum.h b/xfa/fxfa/include/xfa_checksum.h
index 6c7ea7a04c..f6b13e7cb7 100644
--- a/xfa/fxfa/include/xfa_checksum.h
+++ b/xfa/fxfa/include/xfa_checksum.h
@@ -60,14 +60,13 @@ class CXFA_ChecksumContext {
CXFA_ChecksumContext();
~CXFA_ChecksumContext();
- void Release() { delete this; }
void StartChecksum();
+ void Update(const CFX_ByteStringC& bsText);
FX_BOOL UpdateChecksum(IFX_FileRead* pSrcFile,
FX_FILESIZE offset = 0,
size_t size = 0);
void FinishChecksum();
- void GetChecksum(CFX_ByteString& bsChecksum);
- void Update(const CFX_ByteStringC& bsText);
+ CFX_ByteString GetChecksum() const;
protected:
CFX_SAXReader* m_pSAXReader;