summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-04-11 09:35:00 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-04-11 15:12:26 +0000
commit6e485caca4d943a616853fbbf7446d398412bf13 (patch)
tree037f50e9a8c43f7f6dd75a0eab1f09f5a1d019a2 /xfa/fxfa/parser
parent75dc42ae0cb0037ad519c2b9a9f3a3fb33ccb3da (diff)
downloadpdfium-6e485caca4d943a616853fbbf7446d398412bf13.tar.xz
Remove unneeded stream access flags
This Cl removes all of the steam access flags other then write. Flags which were always set were removed. Change-Id: I96df4fa0c95d89f4f454db050f3f032bc163e498 Reviewed-on: https://pdfium-review.googlesource.com/4034 Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser')
-rw-r--r--xfa/fxfa/parser/cxfa_widetextread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/parser/cxfa_widetextread.cpp b/xfa/fxfa/parser/cxfa_widetextread.cpp
index be2da8c70c..dc210d1828 100644
--- a/xfa/fxfa/parser/cxfa_widetextread.cpp
+++ b/xfa/fxfa/parser/cxfa_widetextread.cpp
@@ -18,7 +18,7 @@ CXFA_WideTextRead::CXFA_WideTextRead(const CFX_WideString& wsBuffer)
CXFA_WideTextRead::~CXFA_WideTextRead() {}
uint32_t CXFA_WideTextRead::GetAccessModes() const {
- return FX_STREAMACCESS_Read;
+ return 0;
}
int32_t CXFA_WideTextRead::GetLength() const {