diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:13:31 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-12 20:13:31 +0100 |
commit | 506856ca50e676520bcc80a8b498355663d0388f (patch) | |
tree | 5199179fad2392eeed97dba3ae1c807afcd4299c /test | |
parent | 75ca2d04abc96f88ee63852e070f84984f27ad3f (diff) |
More loplugin:cstylecast: test
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable
loplugin:cstylecast for some more cases" plus
solenv/clang-format/reformat-formatted-files
Change-Id: Ia0835f0d9fe59bf0cb42210e4a6be1f022259a8d
Diffstat (limited to 'test')
-rw-r--r-- | test/source/xmltesttools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/xmltesttools.cxx b/test/source/xmltesttools.cxx index bcdf93e1ae0b..5d476c46a5ec 100644 --- a/test/source/xmltesttools.cxx +++ b/test/source/xmltesttools.cxx @@ -132,7 +132,7 @@ void XmlTestTools::assertXPathChildren(xmlDocPtr pXmlDoc, const OString& rXPath, 1, xmlXPathNodeSetGetLength(pXmlNodes)); xmlNodePtr pXmlNode = pXmlNodes->nodeTab[0]; CPPUNIT_ASSERT_EQUAL_MESSAGE(OString("In <" + OString(pXmlDoc->name) + ">, XPath '" + rXPath + "' number of child-nodes is incorrect").getStr(), - nNumberOfChildNodes, (int)xmlChildElementCount(pXmlNode)); + nNumberOfChildNodes, static_cast<int>(xmlChildElementCount(pXmlNode))); xmlXPathFreeObject(pXmlObj); #else (void)pXmlDoc; |