From d60d7cb936ea50a0dfab26372f3a8958f84250e7 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Fri, 1 Jun 2018 15:28:54 +0000 Subject: Fix XFA guards These guards are using #if, when they should be using #ifdef. Caught using Clang's static analyzer. Change-Id: I86e99c5e4142cf84fff5f2365ad534f09ae40511 Reviewed-on: https://pdfium-review.googlesource.com/33510 Reviewed-by: Henrique Nakashima Commit-Queue: Ryan Harrison --- core/fxcrt/fx_bidi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/fxcrt/fx_bidi.h b/core/fxcrt/fx_bidi.h index 54d5255e3e..79a2ddd417 100644 --- a/core/fxcrt/fx_bidi.h +++ b/core/fxcrt/fx_bidi.h @@ -72,7 +72,7 @@ class CFX_BidiString { CFX_BidiChar::Direction m_eOverallDirection = CFX_BidiChar::LEFT; }; -#if PDF_ENABLE_XFA +#ifdef PDF_ENABLE_XFA void FX_BidiLine(std::vector* chars, size_t iCount); #endif // PDF_ENABLE_XFA -- cgit v1.2.3