diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-01-16 10:45:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-01-16 13:08:28 +0100 |
commit | 4828debf7b4fa19bc26e2a02e5606d2c07b4c5d2 (patch) | |
tree | b93d14373ea652e634847d31cb73d70febd862be /xmloff | |
parent | a0e326f5e109a1dc3402b4102ad730de6feeba96 (diff) |
New loplugin:empty
Change-Id: I8729db064573ac21dfe6b203c5ae244d79ecc4fe
Reviewed-on: https://gerrit.libreoffice.org/66430
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/qa/unit/uxmloff.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/qa/unit/uxmloff.cxx b/xmloff/qa/unit/uxmloff.cxx index 4cba6e41fc16..a5e11528fe81 100644 --- a/xmloff/qa/unit/uxmloff.cxx +++ b/xmloff/qa/unit/uxmloff.cxx @@ -210,7 +210,7 @@ void Test::testMetaGenerator() SvXMLMetaDocumentContext::setBuildId( OUString::createFromAscii(tests[i].generator), xInfoSet); - if (std::strlen(tests[i].buildId) != 0) + if (tests[i].buildId[0] != '\0') { CPPUNIT_ASSERT_EQUAL(OUString::createFromAscii(tests[i].buildId), xInfoSet->getPropertyValue("BuildId").get<OUString>()); |