Index: fpdfsdk/cba_annotiterator.cpp |
diff --git a/fpdfsdk/cba_annotiterator.cpp b/fpdfsdk/cba_annotiterator.cpp |
index f07805e6f39f8805b3c2c0edd40adf80f606aced..bd68997ad91f3a115f6453f9f22c4974561b8ab7 100644 |
--- a/fpdfsdk/cba_annotiterator.cpp |
+++ b/fpdfsdk/cba_annotiterator.cpp |
@@ -168,7 +168,5 @@ void CBA_AnnotIterator::GenerateResults() { |
} |
CFX_FloatRect CBA_AnnotIterator::GetAnnotRect(const CPDFSDK_Annot* pAnnot) { |
- CFX_FloatRect rcAnnot; |
- pAnnot->GetPDFAnnot()->GetRect(rcAnnot); |
- return rcAnnot; |
+ return pAnnot->GetPDFAnnot()->GetRect(); |
} |