summaryrefslogtreecommitdiff
path: root/xfa/fxbarcode/BC_Utils.cpp
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-11-02 15:43:18 -0700
committerCommit bot <commit-bot@chromium.org>2016-11-02 15:43:19 -0700
commitd19e912dd469e4bdad9f3020e1f6eb98f10f3470 (patch)
tree239cb568a80445f14a1ab9b63dcaaddcce67e1cc /xfa/fxbarcode/BC_Utils.cpp
parent12f3e4a58f05850b93af35619cb04f0231d86acc (diff)
downloadpdfium-d19e912dd469e4bdad9f3020e1f6eb98f10f3470.tar.xz
Remove FX_BOOL from xfa.
Review-Url: https://codereview.chromium.org/2467203003
Diffstat (limited to 'xfa/fxbarcode/BC_Utils.cpp')
-rw-r--r--xfa/fxbarcode/BC_Utils.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/xfa/fxbarcode/BC_Utils.cpp b/xfa/fxbarcode/BC_Utils.cpp
index d750f9d6fe..807b04861d 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++) {