summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_font.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_font.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fxfa/parser/cxfa_font.cpp b/xfa/fxfa/parser/cxfa_font.cpp
index ab0825fbe6..9de43535b5 100644
--- a/xfa/fxfa/parser/cxfa_font.cpp
+++ b/xfa/fxfa/parser/cxfa_font.cpp
@@ -7,7 +7,7 @@
#include "xfa/fxfa/parser/cxfa_font.h"
#include "core/fxge/fx_dib.h"
-#include "xfa/fxfa/parser/cxfa_fill.h"
+#include "xfa/fxfa/parser/cxfa_filldata.h"
#include "xfa/fxfa/parser/cxfa_measurement.h"
#include "xfa/fxfa/parser/cxfa_node.h"
@@ -85,11 +85,11 @@ bool CXFA_Font::IsItalic() {
}
void CXFA_Font::SetColor(FX_ARGB color) {
- CXFA_Fill fill(m_pNode->JSNode()->GetProperty(0, XFA_Element::Fill, true));
- fill.SetColor(color);
+ CXFA_FillData(m_pNode->JSNode()->GetProperty(0, XFA_Element::Fill, true))
+ .SetColor(color);
}
FX_ARGB CXFA_Font::GetColor() {
- CXFA_Fill fill(m_pNode->GetChild(0, XFA_Element::Fill, false));
- return fill ? fill.GetColor(true) : 0xFF000000;
+ CXFA_FillData fillData(m_pNode->GetChild(0, XFA_Element::Fill, false));
+ return fillData ? fillData.GetColor(true) : 0xFF000000;
}