Index: xfa/src/fdp/src/css/fde_cssdeclaration.cpp |
diff --git a/xfa/src/fdp/src/css/fde_cssdeclaration.cpp b/xfa/src/fdp/src/css/fde_cssdeclaration.cpp |
index 4eea30c150b94a01de9794ed71cea3c7c8ebcc89..73d0921b154c8e5b69d21b599196756d5b116c25 100644 |
--- a/xfa/src/fdp/src/css/fde_cssdeclaration.cpp |
+++ b/xfa/src/fdp/src/css/fde_cssdeclaration.cpp |
@@ -932,11 +932,12 @@ FX_BOOL CFDE_CSSDeclaration::ParseBackgroundProperty( |
} |
const FDE_CSSCOLORTABLE* pColorItem = |
FDE_GetCSSColorByName(pszValue, iValueLen); |
- if (pColorItem != NULL) |
+ if (pColorItem != NULL) { |
if (pColor == NULL) { |
pColor = FXTARGET_NewWith(pStaticStore) |
CFDE_CSSPrimitiveValue(pColorItem->dwValue); |
} |
+ } |
} break; |
case FDE_CSSPRIMITIVETYPE_RGB: |
if (pColor == NULL) { |