summaryrefslogtreecommitdiff
path: root/xfa/fde/css/cfde_cssexttextbuf.cpp
blob: 86f6776c48dd499f38fae95eaf5dcf2bc5a0ec5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2017 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com

#include "xfa/fde/css/cfde_cssexttextbuf.h"

CFDE_CSSExtTextBuf::CFDE_CSSExtTextBuf()
    : m_pExtBuffer(nullptr), m_iDatLen(0), m_iDatPos(0) {}

CFDE_CSSExtTextBuf::~CFDE_CSSExtTextBuf() {}

void CFDE_CSSExtTextBuf::AttachBuffer(const wchar_t* pBuffer, int32_t iBufLen) {
  m_pExtBuffer = pBuffer;
  m_iDatLen = iBufLen;
}