summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_defaultappearance.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfdoc/cpdf_defaultappearance.h')
-rw-r--r--core/fpdfdoc/cpdf_defaultappearance.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fpdfdoc/cpdf_defaultappearance.h b/core/fpdfdoc/cpdf_defaultappearance.h
index 79578930e1..ae3c4f5517 100644
--- a/core/fpdfdoc/cpdf_defaultappearance.h
+++ b/core/fpdfdoc/cpdf_defaultappearance.h
@@ -25,8 +25,7 @@ class CPDF_DefaultAppearance {
CPDF_DefaultAppearance(const CPDF_DefaultAppearance& cDA)
: m_csDA(cDA.m_csDA) {}
- bool HasFont();
- ByteString GetFont(float* fFontSize);
+ Optional<ByteString> GetFont(float* fFontSize);
bool HasColor();
CFX_Color::Type GetColor(float fc[4]);