summaryrefslogtreecommitdiff
path: root/core/include
diff options
context:
space:
mode:
Diffstat (limited to 'core/include')
-rw-r--r--core/include/fpdftext/fpdf_text.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/include/fpdftext/fpdf_text.h b/core/include/fpdftext/fpdf_text.h
index eb16ca9a90..f27f1db7e6 100644
--- a/core/include/fpdftext/fpdf_text.h
+++ b/core/include/fpdftext/fpdf_text.h
@@ -102,13 +102,13 @@ class IPDF_TextPage {
CFX_RectArray& rectArray) const = 0;
virtual int GetIndexAtPos(CPDF_Point point,
- FX_FLOAT xTorelance,
- FX_FLOAT yTorelance) const = 0;
+ FX_FLOAT xTolerance,
+ FX_FLOAT yTolerance) const = 0;
virtual int GetIndexAtPos(FX_FLOAT x,
FX_FLOAT y,
- FX_FLOAT xTorelance,
- FX_FLOAT yTorelance) const = 0;
+ FX_FLOAT xTolerance,
+ FX_FLOAT yTolerance) const = 0;
virtual CFX_WideString GetTextByRect(const CFX_FloatRect& rect) const = 0;