diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-06 18:30:09 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-06 18:30:09 +0200 |
commit | 8a18515f7bb1eb6e7d356a1737ac1a339b5ceeab (patch) | |
tree | 36350715d51516fdf535c764cdd716b7fa9a5126 /xmlsecurity/qa/unit/pdfsigning | |
parent | 504c993eafe9aba93f034c7672c8530c9d1a85ec (diff) |
Improved loplugin:redundantcast, static_cast on arithmetic types: xmlsecurity
Change-Id: I51692b887585d6a64019550aff5f6ea2910ad2fd
Diffstat (limited to 'xmlsecurity/qa/unit/pdfsigning')
-rw-r--r-- | xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx b/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx index 48e3a021199d..05f8517ffec3 100644 --- a/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx +++ b/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx @@ -195,7 +195,7 @@ void PDFSigningTest::testPDFAdd() // Make sure the timestamp is correct. DateTime aDateTime(DateTime::SYSTEM); // This was 0 (on Windows), as neither the /M key nor the PKCS#7 blob contained a timestamp. - CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int16>(aDateTime.GetYear()), aInfos[0].stDateTime.Year); + CPPUNIT_ASSERT_EQUAL(aDateTime.GetYear(), aInfos[0].stDateTime.Year); // Assert that the digest algorithm is not SHA-1 in the bAdES case. CPPUNIT_ASSERT_EQUAL(xml::crypto::DigestID::SHA256, aInfos[0].nDigestID); } |