Index: xfa/fde/tto/fde_textout.cpp |
diff --git a/xfa/fde/tto/fde_textout.cpp b/xfa/fde/tto/fde_textout.cpp |
index 3e14b9bf38873748d42e4f9b4bcfcd5e7db7a1dd..c7d82ac0f426ea6f3168b442393b94c6616e0147 100644 |
--- a/xfa/fde/tto/fde_textout.cpp |
+++ b/xfa/fde/tto/fde_textout.cpp |
@@ -125,12 +125,13 @@ void CFDE_TextOut::SetLineSpace(FX_FLOAT fLineSpace) { |
ASSERT(fLineSpace > 1.0f); |
m_fLineSpace = fLineSpace; |
} |
+ |
void CFDE_TextOut::SetDIBitmap(CFX_DIBitmap* pDIB) { |
ASSERT(pDIB); |
m_pRenderDevice.reset(); |
CFX_FxgeDevice* device = new CFX_FxgeDevice; |
- device->Attach(pDIB, 0, FALSE); |
+ device->Attach(pDIB, false, nullptr, false); |
m_pRenderDevice.reset(new CFDE_RenderDevice(device, FALSE)); |
} |