summaryrefslogtreecommitdiff
path: root/sd/qa
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-11-02 14:17:08 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2022-11-02 15:52:49 +0100
commit71703f3792e90c7ec6ed116cd734e23b0666afd1 (patch)
tree991ca05558699f89e28d0f5c79f2a1786fe5d915 /sd/qa
parentd4b5689c18f9bc10e6b552ba7f20b0af2b36d170 (diff)
SdUnoApiTestXml: simplify code a bit
Change-Id: Ib213da0eed266e1b1f48284c71251d4c8c4da499 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142167 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sd/qa')
-rw-r--r--sd/qa/unit/sdmodeltestbase.hxx3
1 files changed, 0 insertions, 3 deletions
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;
}
};