summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_textpiece.cpp
blob: e65cc1666762cd8c468dfe51b0fc14948dcb29cb (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/fxfa/app/xfa_textpiece.h"

#include "xfa/fxfa/app/cxfa_linkuserdata.h"

XFA_TextPiece::XFA_TextPiece()
    : pszText(nullptr), pWidths(nullptr), pFont(nullptr) {}

XFA_TextPiece::~XFA_TextPiece() {
  FX_Free(pszText);
  FX_Free(pWidths);
}