sd/qa/unit/sdmodeltestbase.hxx | 3 --- 1 file changed, 3 deletions(-) New commits: commit 71703f3792e90c7ec6ed116cd734e23b0666afd1 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Wed Nov 2 14:17:08 2022 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Wed Nov 2 15:52:49 2022 +0100
SdUnoApiTestXml: simplify code a bit Change-Id: Ib213da0eed266e1b1f48284c71251d4c8c4da499 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142167 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx index e71cae25b153..191c56e52eec 100644 --- a/sd/qa/unit/sdmodeltestbase.hxx +++ b/sd/qa/unit/sdmodeltestbase.hxx @@ -155,9 +155,6 @@ public: { std::unique_ptr<SvStream> const pStream(parseExportStream(rTempFile, rStreamName)); xmlDocUniquePtr pXmlDoc = parseXmlStream(pStream.get()); - OUString const url(rTempFile.GetURL()); - pXmlDoc->name = reinterpret_cast<char*>(xmlStrdup(reinterpret_cast<xmlChar const*>( - OUStringToOString(url, RTL_TEXTENCODING_UTF8).getStr()))); return pXmlDoc; } };