diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-05 14:15:36 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-05 22:05:45 -0200 |
commit | fffd541c3e626bee162ab4b473b6bd6cd180244e (patch) | |
tree | 17197936ca83815d876d0c1de0c7a045a7768f7b /sax/source/expatwrap/sax_expat.cxx | |
parent | 15f5d766837329baa8deff31e9da33cef87f7a98 (diff) |
Fix for fdo43460 Part XXIX getLength() to isEmpty()
Part XXIX
Modules
sax, scaddins, sccomp, scripting
Diffstat (limited to 'sax/source/expatwrap/sax_expat.cxx')
-rw-r--r-- | sax/source/expatwrap/sax_expat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx index bd65a52855f8..7e57583ccccf 100644 --- a/sax/source/expatwrap/sax_expat.cxx +++ b/sax/source/expatwrap/sax_expat.cxx @@ -472,7 +472,7 @@ void SaxExpatParser::parseStream( const InputSource& structSource) } entity.converter.setInputStream( entity.structSource.aInputStream ); - if( entity.structSource.sEncoding.getLength() ) + if( !entity.structSource.sEncoding.isEmpty() ) { entity.converter.setEncoding( OUStringToOString( entity.structSource.sEncoding , RTL_TEXTENCODING_ASCII_US ) ); |