summaryrefslogtreecommitdiff
path: root/fxjs/cjs_field.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_field.cpp')
-rw-r--r--fxjs/cjs_field.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/cjs_field.cpp b/fxjs/cjs_field.cpp
index 7b4c064a9e..acc0fe3188 100644
--- a/fxjs/cjs_field.cpp
+++ b/fxjs/cjs_field.cpp
@@ -1888,7 +1888,7 @@ CJS_Return CJS_Field::get_text_color(CJS_Runtime* pRuntime) {
int iColorType;
FX_ARGB color;
CPDF_DefaultAppearance FieldAppearance = pFormControl->GetDefaultAppearance();
- FieldAppearance.GetColor(color, iColorType);
+ std::tie(iColorType, color) = FieldAppearance.GetColor();
int32_t a;
int32_t r;