diff options
author | tsepez <tsepez@chromium.org> | 2016-03-25 14:52:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-25 14:52:28 -0700 |
commit | c3255f55954b2adc3edbd3269c0a8779f7d4b7ad (patch) | |
tree | 802c0e9158e14f1e67ad181089739a176e8fba24 /fpdfsdk/fsdk_baseannot.cpp | |
parent | deee3d2ee201d62e7ef41e7d8378d7f52e057a9c (diff) | |
download | pdfium-c3255f55954b2adc3edbd3269c0a8779f7d4b7ad.tar.xz |
Remove FX_DWORD from fpdfsdk/ and testing
BUG=
Review URL: https://codereview.chromium.org/1835693002
Diffstat (limited to 'fpdfsdk/fsdk_baseannot.cpp')
-rw-r--r-- | fpdfsdk/fsdk_baseannot.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/fsdk_baseannot.cpp b/fpdfsdk/fsdk_baseannot.cpp index 3979c0ff56..ea4e060737 100644 --- a/fpdfsdk/fsdk_baseannot.cpp +++ b/fpdfsdk/fsdk_baseannot.cpp @@ -622,11 +622,11 @@ FX_SYSTEMTIME CPDFSDK_BAAnnot::GetModifiedDate() const { return systime; } -void CPDFSDK_BAAnnot::SetFlags(FX_DWORD nFlags) { +void CPDFSDK_BAAnnot::SetFlags(uint32_t nFlags) { m_pAnnot->GetAnnotDict()->SetAtInteger("F", nFlags); } -FX_DWORD CPDFSDK_BAAnnot::GetFlags() const { +uint32_t CPDFSDK_BAAnnot::GetFlags() const { return m_pAnnot->GetAnnotDict()->GetIntegerBy("F"); } @@ -884,7 +884,7 @@ FX_BOOL CPDFSDK_BAAnnot::CreateFormFiller() { return TRUE; } FX_BOOL CPDFSDK_BAAnnot::IsVisible() const { - FX_DWORD nFlags = GetFlags(); + uint32_t nFlags = GetFlags(); return !((nFlags & ANNOTFLAG_INVISIBLE) || (nFlags & ANNOTFLAG_HIDDEN) || (nFlags & ANNOTFLAG_NOVIEW)); } |