summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-12 17:52:31 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-12 17:52:31 +0100
commit58138d117dae2a2778e5e62ca20066744d42804d (patch)
treebd7350ac3d1636306b93f927e36d57da71ea4aac /sax
parentb733f5c4f4b3f92f5ba0f36575093bb3bc7fc7ec (diff)
sax: Use appropriate OUString functions on string constants
Change-Id: Ic0750322439f15e6c9b99dac9dbb3b8c060ad8e0
Diffstat (limited to 'sax')
-rw-r--r--sax/source/expatwrap/saxwriter.cxx2
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);