diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-12-12 17:52:31 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-12-12 17:52:31 +0100 |
commit | 58138d117dae2a2778e5e62ca20066744d42804d (patch) | |
tree | bd7350ac3d1636306b93f927e36d57da71ea4aac /sax | |
parent | b733f5c4f4b3f92f5ba0f36575093bb3bc7fc7ec (diff) |
sax: Use appropriate OUString functions on string constants
Change-Id: Ic0750322439f15e6c9b99dac9dbb3b8c060ad8e0
Diffstat (limited to 'sax')
-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); |