summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-12-07 21:34:17 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2013-12-07 21:35:58 +0100
commiteb60095292b5ef8dc94a0b166151d3a79c9df156 (patch)
tree7563f1f47726f9a22485e3809833ad016adcd70f /reportdesign
parentee712dd6964daafa463febea8a948ea277ad16c7 (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
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/filter/xml/xmlExport.cxx2
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;
}