summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/include/cpdf_annot.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfdoc/include/cpdf_annot.h')
-rw-r--r--core/fpdfdoc/include/cpdf_annot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/include/cpdf_annot.h b/core/fpdfdoc/include/cpdf_annot.h
index 4029bba4cc..9f8671633c 100644
--- a/core/fpdfdoc/include/cpdf_annot.h
+++ b/core/fpdfdoc/include/cpdf_annot.h
@@ -44,7 +44,7 @@ class CPDF_Annot {
CFX_ByteString GetSubType() const;
uint32_t GetFlags() const;
- void GetRect(CFX_FloatRect& rect) const;
+ CFX_FloatRect GetRect() const;
const CPDF_Dictionary* GetAnnotDict() const { return m_pAnnotDict; }
CPDF_Dictionary* GetAnnotDict() { return m_pAnnotDict; }
FX_BOOL DrawAppearance(CPDF_Page* pPage,