From 05df075154a832fcb476e1dfcfb865722d0ea898 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Tue, 14 Mar 2017 14:43:42 -0400 Subject: Replace FX_FLOAT with underlying float type. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I158b7d80b0ec28b742a9f2d5a96f3dde7fb3ab56 Reviewed-on: https://pdfium-review.googlesource.com/3031 Commit-Queue: dsinclair Reviewed-by: Tom Sepez Reviewed-by: Nicolás Peña --- core/fpdfapi/parser/cpdf_dictionary.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/fpdfapi/parser/cpdf_dictionary.h') diff --git a/core/fpdfapi/parser/cpdf_dictionary.h b/core/fpdfapi/parser/cpdf_dictionary.h index 13cbdcf7ac..b14574fd61 100644 --- a/core/fpdfapi/parser/cpdf_dictionary.h +++ b/core/fpdfapi/parser/cpdf_dictionary.h @@ -48,13 +48,13 @@ class CPDF_Dictionary : public CPDF_Object { int GetIntegerFor(const CFX_ByteString& key) const; int GetIntegerFor(const CFX_ByteString& key, int default_int) const; bool GetBooleanFor(const CFX_ByteString& key, bool bDefault = false) const; - FX_FLOAT GetNumberFor(const CFX_ByteString& key) const; + float GetNumberFor(const CFX_ByteString& key) const; CPDF_Dictionary* GetDictFor(const CFX_ByteString& key) const; CPDF_Stream* GetStreamFor(const CFX_ByteString& key) const; CPDF_Array* GetArrayFor(const CFX_ByteString& key) const; CFX_FloatRect GetRectFor(const CFX_ByteString& key) const; CFX_Matrix GetMatrixFor(const CFX_ByteString& key) const; - FX_FLOAT GetFloatFor(const CFX_ByteString& key) const { + float GetFloatFor(const CFX_ByteString& key) const { return GetNumberFor(key); } -- cgit v1.2.3