diff options
Diffstat (limited to 'xfa/fde/css/cfde_csssyntaxparser.cpp')
-rw-r--r-- | xfa/fde/css/cfde_csssyntaxparser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fde/css/cfde_csssyntaxparser.cpp b/xfa/fde/css/cfde_csssyntaxparser.cpp index e943f29f4d..b896eb79b8 100644 --- a/xfa/fde/css/cfde_csssyntaxparser.cpp +++ b/xfa/fde/css/cfde_csssyntaxparser.cpp @@ -41,7 +41,8 @@ bool CFDE_CSSSyntaxParser::Init(const wchar_t* pBuffer, Reset(bOnlyDeclaration); if (!m_TextData.EstimateSize(iTextDatSize)) return false; - return m_TextPlane.AttachBuffer(pBuffer, iBufferSize); + m_TextPlane.AttachBuffer(pBuffer, iBufferSize); + return true; } void CFDE_CSSSyntaxParser::Reset(bool bOnlyDeclaration) { |