| Index: xfa/src/fgas/src/font/fx_gefont.cpp
|
| diff --git a/xfa/src/fgas/src/font/fx_gefont.cpp b/xfa/src/fgas/src/font/fx_gefont.cpp
|
| index 37066a2a49cf9c5f589a01beb57e5da688ef6817..468e28ea96c5f369bc9672cdfb629f2104990087 100644
|
| --- a/xfa/src/fgas/src/font/fx_gefont.cpp
|
| +++ b/xfa/src/fgas/src/font/fx_gefont.cpp
|
| @@ -447,10 +447,10 @@ FX_BOOL CFX_GEFont::GetCharBBox(FX_WCHAR wUnicode,
|
| }
|
| }
|
| }
|
| - if (pRect == NULL) {
|
| + if (!pRect)
|
| return FALSE;
|
| - }
|
| - bbox = *(FX_LPCRECT)pRect;
|
| +
|
| + bbox = *static_cast<const CFX_Rect*>(pRect);
|
| return TRUE;
|
| }
|
| FX_BOOL CFX_GEFont::GetBBox(CFX_Rect& bbox) {
|
|
|