sw/source/filter/xml/xmltble.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
New commits: commit be75c3ea3037522d4abcf08d3f383d6df5f7e493 Author: Matteo Casalin <matteo.casa...@yahoo.com> AuthorDate: Fri Feb 1 07:43:52 2019 +0100 Commit: Matteo Casalin <matteo.casa...@yahoo.com> CommitDate: Fri Feb 8 19:32:58 2019 +0100 Use indexed getToken() Change-Id: I3c1df346c56bfbd6e885b5ddb78ac3162a8bc32e Reviewed-on: https://gerrit.libreoffice.org/67327 Tested-by: Jenkins Reviewed-by: Matteo Casalin <matteo.casa...@yahoo.com> diff --git a/sw/source/filter/xml/xmltble.cxx b/sw/source/filter/xml/xmltble.cxx index 58ef026cf7e1..a726de4124cb 100644 --- a/sw/source/filter/xml/xmltble.cxx +++ b/sw/source/filter/xml/xmltble.cxx @@ -1112,12 +1112,13 @@ void SwXMLExport::ExportTable( const SwTableNode& rTableNd ) // DDE command const OUString& sCmd = pDDEFieldType->GetCmd(); + sal_Int32 nIdx{ 0 }; AddAttribute( XML_NAMESPACE_OFFICE, XML_DDE_APPLICATION, - sCmd.getToken(0, sfx2::cTokenSeparator) ); + sCmd.getToken(0, sfx2::cTokenSeparator, nIdx) ); AddAttribute( XML_NAMESPACE_OFFICE, XML_DDE_ITEM, - sCmd.getToken(1, sfx2::cTokenSeparator) ); + sCmd.getToken(0, sfx2::cTokenSeparator, nIdx) ); AddAttribute( XML_NAMESPACE_OFFICE, XML_DDE_TOPIC, - sCmd.getToken(2, sfx2::cTokenSeparator) ); + sCmd.getToken(0, sfx2::cTokenSeparator, nIdx) ); // auto update if (pDDEFieldType->GetType() == SfxLinkUpdateMode::ALWAYS) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits