summaryrefslogtreecommitdiff
path: root/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp')
-rw-r--r--xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp b/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp
index e77c5f14bf..408558a9ca 100644
--- a/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp
+++ b/xfa/fee/fx_wordbreak/fx_wordbreak_impl.cpp
@@ -14,7 +14,7 @@ FX_WordBreakProp FX_GetWordBreakProperty(FX_WCHAR wcCodePoint) {
}
CFX_CharIter::CFX_CharIter(const CFX_WideString& wsText)
: m_wsText(wsText), m_nIndex(0) {
- FXSYS_assert(!wsText.IsEmpty());
+ ASSERT(!wsText.IsEmpty());
}
CFX_CharIter::~CFX_CharIter() {}
void CFX_CharIter::Release() {
@@ -69,7 +69,7 @@ void CFX_WordBreak::Release() {
delete this;
}
void CFX_WordBreak::Attach(IFX_CharIter* pIter) {
- FXSYS_assert(pIter);
+ ASSERT(pIter);
m_pCurIter = pIter;
}
void CFX_WordBreak::Attach(const CFX_WideString& wsText) {
@@ -183,7 +183,7 @@ FX_BOOL CFX_WordBreak::FindNextBreakPos(IFX_CharIter* pIter,
}
}
if (nFlags > 0) {
- FXSYS_assert(nFlags <= 2);
+ ASSERT(nFlags <= 2);
if (!((nFlags == 1 && ePreType == FX_WordBreakProp_ALetter) ||
(nFlags == 2 && ePreType == FX_WordBreakProp_Numberic))) {
pIter->Next(!bPrev);
@@ -215,7 +215,7 @@ FX_BOOL CFX_WordBreak::FindNextBreakPos(IFX_CharIter* pIter,
pIter->Next(!bPrev);
return TRUE;
}
- FXSYS_assert(nFlags <= 2);
+ ASSERT(nFlags <= 2);
pIter->Next(bPrev);
wcTemp = pIter->GetChar();
eNextType = (FX_WordBreakProp)FX_GetWordBreakProperty(wcTemp);