summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sax/source/expatwrap/xml2utf.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sax/source/expatwrap/xml2utf.cxx b/sax/source/expatwrap/xml2utf.cxx
index 76713d99ef84..34440bfa534c 100644
--- a/sax/source/expatwrap/xml2utf.cxx
+++ b/sax/source/expatwrap/xml2utf.cxx
@@ -314,12 +314,14 @@ sal_Bool XMLFile2UTFConverter::scanForEncoding( Sequence< sal_Int8 > &seq )
// UCS-4 little endian
m_sEncoding = "ucs-4";
}
+/* TODO: no need to test for the moment since we return sal_False like default case anyway
else if( 0x4c == pSource[0] && 0x6f == pSource[1] &&
0xa7 == static_cast<unsigned char> (pSource[2]) &&
0x94 == static_cast<unsigned char> (pSource[3]) ) {
// EBCDIC
bReturn = sal_False; // must be extended
}
+*/
else {
// other
// UTF8 is directly recognized by the parser.