summaryrefslogtreecommitdiff
path: root/xfa
diff options
context:
space:
mode:
Diffstat (limited to 'xfa')
-rw-r--r--xfa/fxfa/parser/cxfa_stipple.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/parser/cxfa_stipple.cpp b/xfa/fxfa/parser/cxfa_stipple.cpp
index 3b4b2597cf..6f15badac9 100644
--- a/xfa/fxfa/parser/cxfa_stipple.cpp
+++ b/xfa/fxfa/parser/cxfa_stipple.cpp
@@ -62,9 +62,9 @@ void CXFA_Stipple::Draw(CXFA_Graphics* pGS,
FX_ARGB crColor = pColor ? pColor->GetValue() : CXFA_Color::kBlackColor;
int32_t a;
- FX_COLORREF rgb;
- std::tie(a, rgb) = ArgbToColorRef(crColor);
- FX_ARGB cr = ArgbEncode(iRate * a / 100, rgb);
+ FX_COLORREF bgr;
+ std::tie(a, bgr) = ArgbToColorRef(crColor);
+ FX_ARGB cr = ArgbEncode(iRate * a / 100, bgr);
pGS->SaveGraphState();
pGS->SetFillColor(CXFA_GEColor(cr));