diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-12-07 21:34:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-09 19:48:47 +0000 |
commit | 62b6a778ea2a2b5b4f164db284c5a2910586bfb7 (patch) | |
tree | 6284ba1dcf8a4e7e7fa7f2473f786de7517c7a6d /reportdesign | |
parent | 121566bef094cfed423a68b42484065fc085ff78 (diff) |
fdo#72391 empty formula is "rpt:", not starts with "rpt:"
(all?) functions start with rpt:
correction of erroneous cleanup wrt to equalsAsciiL
Change-Id: I0568ef28a1e677f68016b8593c2b30d0ffba1bb5
Reviewed-on: https://gerrit.libreoffice.org/6975
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
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 954bce419b28..c2c9a0326045 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.startsWith("rpt:") ) + if ( _sFormula == "rpt:" ) sFormula = ""; return sFormula; } |