Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(176)

Unified Diff: xfa/fde/cfde_txtedtengine.h

Issue 2557103002: Cleanup FWL default values part II. (Closed)
Patch Set: Rebase to master Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/fde/cfde_txtedtdorecord_insert.cpp ('k') | xfa/fde/cfde_txtedtengine.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fde/cfde_txtedtengine.h
diff --git a/xfa/fde/cfde_txtedtengine.h b/xfa/fde/cfde_txtedtengine.h
index a01f7565fc59f6e74777e89ed1962407857ad33d..755a820fd2be4160b458b84c16b0ec05e8ca185b 100644
--- a/xfa/fde/cfde_txtedtengine.h
+++ b/xfa/fde/cfde_txtedtengine.h
@@ -32,7 +32,7 @@ class CFDE_TxtEdtEngine {
void SetTextByStream(const CFX_RetainPtr<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;
@@ -55,11 +55,11 @@ 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;
+ int32_t GetSelRange(int32_t nIndex, int32_t* nStart) const;
void ClearSelection();
bool Redo(const IFDE_TxtEdtDoRecord* pRecord);
« no previous file with comments | « xfa/fde/cfde_txtedtdorecord_insert.cpp ('k') | xfa/fde/cfde_txtedtengine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698