summaryrefslogtreecommitdiff
path: root/xmloff/source/style/XMLBackgroundImageExport.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-02-27 13:59:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-02-27 18:54:30 +0100
commit913ed8398667dfd0d6f03923507e14c8e2642c90 (patch)
treefca4fbdecd19516e3a417e97b671e49126ae00ae /xmloff/source/style/XMLBackgroundImageExport.cxx
parent53a8e2f75da778c953b509efadca890ff0936c2f (diff)
remove duplicate tokens from xmloff
Which causes trouble when converting stuff to use FastParser APIs. I see we used to use dummy entries to avoid perfhash complaining, which is fine for exporting, but doesn't work when we use these constants for fast-parser importing, because the imported element/attribute ends up mapped to what looks like the "wrong" constant. So let's just make the constants match their textual representation. Change-Id: I173d4b1e5fedede18375a6f7c15b1f36a48e4063 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89627 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/style/XMLBackgroundImageExport.cxx')
-rw-r--r--xmloff/source/style/XMLBackgroundImageExport.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/XMLBackgroundImageExport.cxx b/xmloff/source/style/XMLBackgroundImageExport.cxx
index 6550943bc011..88fd2e620d0d 100644
--- a/xmloff/source/style/XMLBackgroundImageExport.cxx
+++ b/xmloff/source/style/XMLBackgroundImageExport.cxx
@@ -124,7 +124,7 @@ void XMLBackgroundImageExport::exportXML( const Any& rGraphicAny,
if( GraphicLocation_AREA == ePos )
{
- aOut.append( GetXMLToken(XML_BACKGROUND_STRETCH) );
+ aOut.append( GetXMLToken(XML_STRETCH) );
}
else if( GraphicLocation_NONE != ePos && GraphicLocation_TILED != ePos )
{