diff options
author | Noel Grandin <noel@peralex.com> | 2013-11-19 12:47:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-11-19 12:49:29 +0200 |
commit | 363cc397172f2b0a94d9c4dc44fc8d95072795a3 (patch) | |
tree | 16a23a796e2db536d7af3f0144bce8fd01570e26 /reportdesign | |
parent | DOCX drawingML shape import: handle wrap type (diff) | |
download | core-363cc397172f2b0a94d9c4dc44fc8d95072795a3.tar.gz core-363cc397172f2b0a94d9c4dc44fc8d95072795a3.zip |
convert equalsAsciiL calls to startWith calls where possible
Simplify code like:
aStr.equalsAsciiL( "%", 1 )
to
aStr.startsWith( "%" )
Change-Id: Iee0e4e60b0ae6d567fa8f72db5d616fffbec3c00
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/filter/xml/xmlExport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx index 475c4897187c..954bce419b28 100644 --- a/reportdesign/source/filter/xml/xmlExport.cxx +++ b/reportdesign/source/filter/xml/xmlExport.cxx @@ -1020,7 +1020,7 @@ void ORptExport::exportContainer(const Reference< XSection>& _xSection) OUString ORptExport::convertFormula(const OUString& _sFormula) { OUString sFormula = _sFormula; - if ( _sFormula.equalsAsciiL("rpt:",4) ) + if ( _sFormula.startsWith("rpt:") ) sFormula = ""; return sFormula; } |