| Index: xfa/fde/fde_render.cpp
|
| diff --git a/xfa/fde/fde_render.cpp b/xfa/fde/fde_render.cpp
|
| index 17bf20afbd219bf2697e1a50626b6be77f56c67b..fed831348a55ec957547bd1e8a5ad61a1b4d0c14 100644
|
| --- a/xfa/fde/fde_render.cpp
|
| +++ b/xfa/fde/fde_render.cpp
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "xfa/fde/fde_render.h"
|
|
|
| +#include "xfa/fde/fde_object.h"
|
| #include "xfa/fde/fde_renderdevice.h"
|
| #include "xfa/fgas/crt/fgas_memory.h"
|
|
|
| @@ -216,7 +217,7 @@ void CFDE_RenderContext::RenderText(IFDE_TextSet* pTextSet,
|
| return;
|
| }
|
| if (m_pSolidBrush == NULL) {
|
| - m_pSolidBrush = (IFDE_SolidBrush*)IFDE_Brush::Create(FDE_BRUSHTYPE_Solid);
|
| + m_pSolidBrush = new CFDE_SolidBrush;
|
| if (m_pSolidBrush == NULL) {
|
| return;
|
| }
|
|
|