diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2020-03-07 12:21:32 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-03-07 11:33:42 +0100 |
commit | be22ca7cc69ba905c86e05f0413c05ca0bd42556 (patch) | |
tree | eefb559205257b9d04bb39bd5bfa48b295240263 /sd/qa/unit/HtmlExportTest.cxx | |
parent | 0e4dd381478e0e5b004015a473f981692171df16 (diff) |
clang-format sd with under 5-percent lines of change
Files which could become clang-format conformant with
under 5-percent lines of change relative to the total
count of lines in the file are found by using bin/find-clang-format.py,
and fixed with /opt/lo/bin/clang-format -i <path-of-the-file>
There will be follow-up patches to fix all 'under-5-percent' files.
Change-Id: I08c01d7069b041964614c233d452d70f332228f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90145
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'sd/qa/unit/HtmlExportTest.cxx')
-rw-r--r-- | sd/qa/unit/HtmlExportTest.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/qa/unit/HtmlExportTest.cxx b/sd/qa/unit/HtmlExportTest.cxx index 343461f493bd..914ccb00981b 100644 --- a/sd/qa/unit/HtmlExportTest.cxx +++ b/sd/qa/unit/HtmlExportTest.cxx @@ -17,7 +17,7 @@ using namespace css; class SdHTMLFilterTest : public SdModelTestBase, public XmlTestTools, public HtmlTestTools { private: - htmlDocPtr exportAndParseHtml(sd::DrawDocShellRef const & xDocShRef) + htmlDocPtr exportAndParseHtml(sd::DrawDocShellRef const& xDocShRef) { FileFormat* pFormat = getFormat(HTML); OUString aExt = "." + OUString::createFromAscii(pFormat->pName); @@ -28,10 +28,10 @@ private: } public: - void testHTMLExport() { - sd::DrawDocShellRef xDocShRef = loadURL(m_directories.getURLFromSrc("/sd/qa/unit/data/HtmlExportTestDocument.odp"), ODP); + sd::DrawDocShellRef xDocShRef = loadURL( + m_directories.getURLFromSrc("/sd/qa/unit/data/HtmlExportTestDocument.odp"), ODP); htmlDocPtr htmlDoc = exportAndParseHtml(xDocShRef); assertXPath(htmlDoc, "/html", 1); |