diff options
Diffstat (limited to 'core/fpdfapi/page/cpdf_clippath.cpp')
-rw-r--r-- | core/fpdfapi/page/cpdf_clippath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_clippath.cpp b/core/fpdfapi/page/cpdf_clippath.cpp index 8c268a1b5e..9d4b737d33 100644 --- a/core/fpdfapi/page/cpdf_clippath.cpp +++ b/core/fpdfapi/page/cpdf_clippath.cpp @@ -100,7 +100,7 @@ void CPDF_ClipPath::AppendTexts( if (pData->m_TextList.size() + pTexts->size() <= FPDF_CLIPPATH_MAX_TEXTS) { for (size_t i = 0; i < pTexts->size(); i++) pData->m_TextList.push_back(std::move((*pTexts)[i])); - pData->m_TextList.push_back(std::unique_ptr<CPDF_TextObject>()); + pData->m_TextList.push_back(nullptr); } pTexts->clear(); } |