Index: fpdfsdk/cpdfsdk_baannot.cpp |
diff --git a/fpdfsdk/cpdfsdk_baannot.cpp b/fpdfsdk/cpdfsdk_baannot.cpp |
index 6a4ba86d94f99d6bb490c0146f47f2649520d398..99dd2e05387e5ab0be761cb2d73551cc6f3ffb0b 100644 |
--- a/fpdfsdk/cpdfsdk_baannot.cpp |
+++ b/fpdfsdk/cpdfsdk_baannot.cpp |
@@ -35,9 +35,7 @@ void CPDFSDK_BAAnnot::SetRect(const CFX_FloatRect& rect) { |
} |
CFX_FloatRect CPDFSDK_BAAnnot::GetRect() const { |
- CFX_FloatRect rect; |
- m_pAnnot->GetRect(rect); |
- return rect; |
+ return m_pAnnot->GetRect(); |
} |
CFX_ByteString CPDFSDK_BAAnnot::GetType() const { |