diff options
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index b08970e7f075..0e8250b7bb1d 100644 --- a/sax/source/expatwrap/saxwriter.cxx +++ b/sax/source/expatwrap/saxwriter.cxx @@ -1359,7 +1359,7 @@ void SAXWriter::unknown(const OUString& sString) throw (SAXException, RuntimeExc throw SAXException(); } - if( sString.matchAsciiL( "<?xml", 5 ) ) + if( sString.startsWith( "<?xml" ) ) return; sal_Int32 nLength(0); |