summaryrefslogtreecommitdiff
path: root/xfa/fde/cfde_txtedttextset.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fde/cfde_txtedttextset.h')
-rw-r--r--xfa/fde/cfde_txtedttextset.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fde/cfde_txtedttextset.h b/xfa/fde/cfde_txtedttextset.h
index 40c5623382..afaf22a719 100644
--- a/xfa/fde/cfde_txtedttextset.h
+++ b/xfa/fde/cfde_txtedttextset.h
@@ -18,7 +18,9 @@ class CFDE_TxtEdtTextSet {
explicit CFDE_TxtEdtTextSet(CFDE_TxtEdtPage* pPage);
~CFDE_TxtEdtTextSet();
- CFX_RectF GetRect(const FDE_TEXTEDITPIECE& hVisualObj) const;
+ CFX_RectF GetRect(const FDE_TEXTEDITPIECE& pPiece) const {
+ return pPiece.rtPiece;
+ }
int32_t GetString(FDE_TEXTEDITPIECE* pPiece, CFX_WideString& wsText) const;
CFX_RetainPtr<CFGAS_GEFont> GetFont() const;
float GetFontSize() const;