summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2020-09-22 18:34:46 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2020-09-23 13:16:56 +0200
commit7ccd8928acbb5a27d9b9f44b09b7575757981e8a (patch)
tree02a3dd807dd60e256e9c284c0c7ec47055de5bbe /test
parent046af4edd35f4a802bc0b1e185125339544a683b (diff)
tdf#136949: Revert "tdf#115753 fix table border missing when there are merged cells"
This reverts commit 2b19cd84f10552c438dace0a4c52a70ccd440369. Change-Id: I5f3f51e0e816416c364155ab67bc37bb8c6fe545 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103187 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'test')
-rw-r--r--test/source/xmltesttools.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/test/source/xmltesttools.cxx b/test/source/xmltesttools.cxx
index defb2ec2d096..27833af1e90d 100644
--- a/test/source/xmltesttools.cxx
+++ b/test/source/xmltesttools.cxx
@@ -59,16 +59,8 @@ xmlDocUniquePtr XmlTestTools::parseXmlStream(SvStream* pStream)
return xmlDocUniquePtr(xmlParseDoc(pCharBuffer));
}
-xmlDocUniquePtr XmlTestTools::dumpAndParse(MetafileXmlDump& rDumper, const GDIMetaFile& rGDIMetaFile, const OUString& rStreamName)
+xmlDocUniquePtr XmlTestTools::dumpAndParse(MetafileXmlDump& rDumper, const GDIMetaFile& rGDIMetaFile)
{
- if (!rStreamName.isEmpty())
- {
- SvStream *pStream = new SvFileStream(rStreamName, StreamMode::STD_READWRITE | StreamMode::TRUNC);
- rDumper.dump(rGDIMetaFile, *pStream);
- pStream->Seek(STREAM_SEEK_TO_BEGIN);
- return XmlTestTools::parseXmlStream(pStream);
- }
-
SvMemoryStream aStream;
rDumper.dump(rGDIMetaFile, aStream);
aStream.Seek(STREAM_SEEK_TO_BEGIN);