Index: xfa/src/fee/src/fee/fde_txtedtengine.cpp |
diff --git a/xfa/src/fee/src/fee/fde_txtedtengine.cpp b/xfa/src/fee/src/fee/fde_txtedtengine.cpp |
index 7d87f2c0e9a2b8ead5ac5aa969e890802118c198..72965bd20ce9c9fcdad4d1cdd428e3bca0e2be91 100644 |
--- a/xfa/src/fee/src/fee/fde_txtedtengine.cpp |
+++ b/xfa/src/fee/src/fee/fde_txtedtengine.cpp |
@@ -210,9 +210,9 @@ void CFDE_TxtEdtEngine::GetText(CFX_WideString& wsText, |
#else |
m_pTxtBuf->GetRange(wsText, nStart, nCount); |
RecoverParagEnd(wsText); |
- return; |
#endif |
} |
+ |
void CFDE_TxtEdtEngine::ClearText() { |
DeleteRange(0, -1); |
} |
@@ -934,8 +934,8 @@ void CFDE_TxtEdtEngine::RemoveSelRange(int32_t nStart, int32_t nCount) { |
return; |
} |
} |
- return; |
} |
+ |
void CFDE_TxtEdtEngine::AddSelRange(int32_t nStart, int32_t nCount) { |
if (nCount == -1) { |
nCount = GetTextLength() - nStart; |
@@ -1003,8 +1003,8 @@ void CFDE_TxtEdtEngine::AddSelRange(int32_t nStart, int32_t nCount) { |
} |
} |
m_Param.pEventSink->On_SelChanged(this); |
- return; |
} |
+ |
int32_t CFDE_TxtEdtEngine::CountSelRanges() { |
return m_SelRangePtrArr.GetSize(); |
} |