Index: xfa/fde/cfde_txtedtengine.h |
diff --git a/xfa/fde/cfde_txtedtengine.h b/xfa/fde/cfde_txtedtengine.h |
index bd02c9b9e77c068e343a04a91279e703af215e05..a19a3eb302313ac09e5a894af6729cde633fbd5e 100644 |
--- a/xfa/fde/cfde_txtedtengine.h |
+++ b/xfa/fde/cfde_txtedtengine.h |
@@ -31,7 +31,7 @@ class CFDE_TxtEdtEngine { |
void SetTextByStream(IFGAS_Stream* pStream); |
void SetText(const CFX_WideString& wsText); |
int32_t GetTextLength() const; |
- CFX_WideString GetText(int32_t nStart, int32_t nCount = -1) const; |
+ CFX_WideString GetText(int32_t nStart, int32_t nCount) const; |
void ClearText(); |
int32_t GetCaretRect(CFX_RectF& rtCaret) const; |
@@ -54,9 +54,9 @@ class CFDE_TxtEdtEngine { |
void SetLimit(int32_t nLimit); |
void SetAliasChar(FX_WCHAR wcAlias); |
- void RemoveSelRange(int32_t nStart, int32_t nCount = -1); |
+ void RemoveSelRange(int32_t nStart, int32_t nCount); |
- void AddSelRange(int32_t nStart, int32_t nCount = -1); |
+ void AddSelRange(int32_t nStart, int32_t nCount); |
int32_t CountSelRanges() const; |
int32_t GetSelRange(int32_t nIndex, int32_t& nStart) const; |
void ClearSelection(); |