diff options
Diffstat (limited to 'core/fpdfapi/fpdf_page/include/cpdf_path.h')
-rw-r--r-- | core/fpdfapi/fpdf_page/include/cpdf_path.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fpdfapi/fpdf_page/include/cpdf_path.h b/core/fpdfapi/fpdf_page/include/cpdf_path.h index 0c077bb443..0e8c491f9e 100644 --- a/core/fpdfapi/fpdf_page/include/cpdf_path.h +++ b/core/fpdfapi/fpdf_page/include/cpdf_path.h @@ -27,8 +27,8 @@ class CPDF_Path : public CFX_CountRef<CFX_PathData> { FX_BOOL IsRect() const { return m_pObject->IsRect(); } void Transform(const CFX_Matrix* pMatrix) { GetModify()->Transform(pMatrix); } - void Append(CPDF_Path src, const CFX_Matrix* pMatrix) { - m_pObject->Append(src.m_pObject, pMatrix); + void Append(const CPDF_Path& other, const CFX_Matrix* pMatrix) { + m_pObject->Append(other.GetObject(), pMatrix); } void AppendRect(FX_FLOAT left, |