diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-25 15:52:28 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-25 15:52:28 -0800 |
commit | a2c42ce6150c4072613a6fc9fa0dc064dbf0a15d (patch) | |
tree | b1705df8ed8c9f2f8db5095fbb6e19548493eacd /core/include/fxcrt/fx_basic.h | |
parent | 214947de80a9be2ddb134b1962affc82e20563c9 (diff) | |
download | pdfium-a2c42ce6150c4072613a6fc9fa0dc064dbf0a15d.tar.xz |
Manual fixups to PDF_ENABLE_XFA in core/
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1477663003 .
Diffstat (limited to 'core/include/fxcrt/fx_basic.h')
-rw-r--r-- | core/include/fxcrt/fx_basic.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/core/include/fxcrt/fx_basic.h b/core/include/fxcrt/fx_basic.h index 710bbcc3c3..e35084c3e8 100644 --- a/core/include/fxcrt/fx_basic.h +++ b/core/include/fxcrt/fx_basic.h @@ -193,7 +193,7 @@ class CFX_ArchiveLoader { FX_DWORD m_LoadingSize; }; -#endif +#endif // PDF_ENABLE_XFA class IFX_BufferArchive { public: @@ -441,7 +441,7 @@ typedef CFX_ArrayTemplate<FX_FILESIZE> CFX_FileSizeArray; #ifdef PDF_ENABLE_XFA typedef CFX_ArrayTemplate<FX_FLOAT> CFX_FloatArray; typedef CFX_ArrayTemplate<int32_t> CFX_Int32Array; -#endif +#endif // PDF_ENABLE_XFA template <class ObjectClass> class CFX_ObjectArray : public CFX_BasicArray { @@ -728,9 +728,7 @@ class CFX_MapPtrTemplate : public CFX_MapPtrToPtr { FX_BOOL RemoveKey(KeyType key) { return CFX_MapPtrToPtr::RemoveKey((void*)(uintptr_t)key); } -#endif -#ifdef PDF_ENABLE_XFA void GetNextAssoc(FX_POSITION& rNextPosition, KeyType& rKey, ValueType& rValue) const { @@ -741,7 +739,7 @@ class CFX_MapPtrTemplate : public CFX_MapPtrToPtr { rValue = (ValueType)(uintptr_t)pValue; } }; -#endif +#endif // PDF_ENABLE_XFA class CFX_CMapByteStringToPtr { public: CFX_CMapByteStringToPtr(); @@ -1203,7 +1201,7 @@ class IFX_Unknown { virtual FX_DWORD AddRef() = 0; }; #define FX_IsOdd(a) ((a)&1) -#endif +#endif // PDF_ENABLE_XFA class CFX_Vector_3by1 { public: |