diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2023-01-23 16:38:03 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2023-01-24 13:39:23 +0000 |
commit | 90e1698dab3d286c10136719aa85fee2f56ad9fd (patch) | |
tree | 4e6e56ffacb7bbb45fd34aa67d6678d61a37e74c /xmloff/source/text/XMLIndexTableSourceContext.cxx | |
parent | 668f55b65849012b359d7d6b9386113facbadc57 (diff) |
tdf#153090 xmloff: ODF import/export of source style on ToX
For Table of Figures/Objects/Tables.
Make this similar to DOCX: only one source style is possible, so omit
the intermediate text:index-source-styles element.
Also a boolean attribute like text:use-index-source-styles appears as
unnecessary complexity, so try to do without.
Change-Id: I7cb599c7ec1261ddedc196a25c3eafe35f35fbe9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/146013
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'xmloff/source/text/XMLIndexTableSourceContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLIndexTableSourceContext.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmloff/source/text/XMLIndexTableSourceContext.cxx b/xmloff/source/text/XMLIndexTableSourceContext.cxx index 480baf0cee16..3a7f8a5a779b 100644 --- a/xmloff/source/text/XMLIndexTableSourceContext.cxx +++ b/xmloff/source/text/XMLIndexTableSourceContext.cxx @@ -45,8 +45,7 @@ using ::com::sun::star::xml::sax::XAttributeList; XMLIndexTableSourceContext::XMLIndexTableSourceContext( SvXMLImport& rImport, Reference<XPropertySet> & rPropSet) - : XMLIndexSourceBaseContext(rImport, - rPropSet, false) + : XMLIndexSourceBaseContext(rImport, rPropSet, UseStyles::Single) , nDisplayFormat(0) , bSequenceOK(false) , bDisplayFormatOK(false) |