diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-01 10:51:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-02 06:34:36 +0000 |
commit | 06eb947c1651cb623cd60d81b08281de4cc6a86b (patch) | |
tree | ac4583be05d0967149cc06f561b04b9abf587970 /xmloff/source/text/XMLIndexSpanEntryContext.cxx | |
parent | 9e9f52ad17a73f353b372bcdc9971443b961d39a (diff) |
inline some constant strings in xmloff (part1)
Change-Id: I7971f210ffb30bdd80a1adde2c286b4d092bd053
Reviewed-on: https://gerrit.libreoffice.org/31433
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/text/XMLIndexSpanEntryContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLIndexSpanEntryContext.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLIndexSpanEntryContext.cxx b/xmloff/source/text/XMLIndexSpanEntryContext.cxx index d3bfef932e83..34e48d38369b 100644 --- a/xmloff/source/text/XMLIndexSpanEntryContext.cxx +++ b/xmloff/source/text/XMLIndexSpanEntryContext.cxx @@ -33,7 +33,7 @@ XMLIndexSpanEntryContext::XMLIndexSpanEntryContext( XMLIndexTemplateContext& rTemplate, sal_uInt16 nPrfx, const OUString& rLocalName ) : - XMLIndexSimpleEntryContext(rImport, rTemplate.sTokenText, + XMLIndexSimpleEntryContext(rImport, "TokenText", rTemplate, nPrfx, rLocalName) { nValues++; // one more for the text string @@ -57,7 +57,7 @@ void XMLIndexSpanEntryContext::FillPropertyValues( // content Any aAny; aAny <<= sContent.makeStringAndClear(); - rValues[nValues-1].Name = rTemplateContext.sText; + rValues[nValues-1].Name = "Text"; rValues[nValues-1].Value = aAny; } |