Index: xfa/fxbarcode/BC_Utils.cpp |
diff --git a/xfa/fxbarcode/BC_Utils.cpp b/xfa/fxbarcode/BC_Utils.cpp |
index d750f9d6fec89a77aceaeb40c562132674185f7a..807b04861d20e545732b7c2748f49ae37d7969d1 100644 |
--- a/xfa/fxbarcode/BC_Utils.cpp |
+++ b/xfa/fxbarcode/BC_Utils.cpp |
@@ -7,19 +7,19 @@ |
#include "core/fxcrt/fx_basic.h" |
#include "xfa/fxbarcode/utils.h" |
-FX_BOOL BC_FX_ByteString_Replace(CFX_ByteString& dst, |
- uint32_t first, |
- uint32_t last, |
- int32_t count, |
- FX_CHAR c) { |
+bool BC_FX_ByteString_Replace(CFX_ByteString& dst, |
+ uint32_t first, |
+ uint32_t last, |
+ int32_t count, |
+ FX_CHAR c) { |
if (first > last || count <= 0) { |
- return FALSE; |
+ return false; |
} |
dst.Delete(first, last - first); |
for (int32_t i = 0; i < count; i++) { |
dst.Insert(0, c); |
} |
- return TRUE; |
+ return true; |
} |
void BC_FX_ByteString_Append(CFX_ByteString& dst, int32_t count, FX_CHAR c) { |
for (int32_t i = 0; i < count; i++) { |