Index: xfa/fxbarcode/BC_Utils.cpp |
diff --git a/xfa/fxbarcode/BC_Utils.cpp b/xfa/fxbarcode/BC_Utils.cpp |
index 2225f7ce508acae3c9d759104f337574c61f4f89..ccc620218ac98a03bcfc2835a7f35c0e1a27c14f 100644 |
--- a/xfa/fxbarcode/BC_Utils.cpp |
+++ b/xfa/fxbarcode/BC_Utils.cpp |
@@ -31,18 +31,3 @@ void BC_FX_ByteString_Append(CFX_ByteString& dst, const CFX_ByteArray& ba) { |
dst += ba[i]; |
} |
} |
-void BC_FX_PtrArray_Sort(CFX_PtrArray& src, BC_PtrArrayCompareCallback fun) { |
- int32_t nLength = src.GetSize(); |
- FX_BOOL changed = true; |
- do { |
- changed = false; |
- for (int32_t i = 0; i < nLength - 1; i++) { |
- if (fun(src[i + 1], src[i])) { |
- void* temp = src[i]; |
- src.SetAt(i, src[i + 1]); |
- src.SetAt(i + 1, temp); |
- changed = true; |
- } |
- } |
- } while (changed); |
-} |