dbertoni 01/02/12 11:35:28
Modified: c/src/ICUBridge ICUBridge.cpp
Log:
Fixed error detection.
Revision Changes Path
1.12 +1 -1 xml-xalan/c/src/ICUBridge/ICUBridge.cpp
Index: ICUBridge.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/ICUBridge/ICUBridge.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ICUBridge.cpp 2001/02/07 22:06:15 1.11
+++ ICUBridge.cpp 2001/02/12 19:35:27 1.12
@@ -316,7 +316,7 @@
DecimalFormat
theFormatter(ICUBridge::XalanDOMStringToUnicodeString(thePattern),
theDFS.release(), theStatus);
if (theStatus == U_ZERO_ERROR ||
- theStatus == U_USING_DEFAULT_ERROR)
+ (theStatus >= U_ERROR_INFO_START && theStatus <
U_ERROR_INFO_LIMIT))
{
// Do the format...
theFormatter.format(theNumber, theUnicodeResult);