dbertoni 01/01/08 10:12:46
Modified: c/src/ICUBridge ICUBridgeCollationCompareFunctor.cpp
Log:
Removed support for Xerces' DOMString.
Revision Changes Path
1.7 +0 -13
xml-xalan/c/src/ICUBridge/ICUBridgeCollationCompareFunctor.cpp
Index: ICUBridgeCollationCompareFunctor.cpp
===================================================================
RCS file:
/home/cvs/xml-xalan/c/src/ICUBridge/ICUBridgeCollationCompareFunctor.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ICUBridgeCollationCompareFunctor.cpp 2001/01/05 23:51:07 1.6
+++ ICUBridgeCollationCompareFunctor.cpp 2001/01/08 18:12:46 1.7
@@ -112,23 +112,10 @@
{
assert(m_collator != 0);
-#if defined(XALAN_USE_XERCES_DOMSTRING)
- // $$$ ToDo: This code is necessary because DOMStrings can
- // have a null representation.
- const XalanDOMChar* const lhs = theLHS == 0 ? &dummy :
theLHS;
- const XalanDOMChar* const rhs = theRHS == 0 ? &dummy :
theRHS;
-
return m_collator->compare(
- lhs,
- length(lhs),
- rhs,
- length(rhs));
-#else
- return m_collator->compare(
theLHS,
length(theLHS),
theRHS,
length(theRHS));
-#endif
}
}