summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx7
1 files changed, 2 insertions, 5 deletions
diff --git a/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx b/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx
index d37f9d2f5434..a43cec683fd9 100644
--- a/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx
+++ b/xmlsecurity/qa/unit/pdfsigning/pdfsigning.cxx
@@ -102,11 +102,8 @@ std::vector<SignatureInformation> PDFSigningTest::verify(const OUString& rURL, s
{
CPPUNIT_ASSERT_EQUAL(nCount, aHelper.GetSignatureInformations().size());
}
- for (size_t i = 0; i < aHelper.GetSignatureInformations().size(); ++i)
- {
- const SignatureInformation& rInfo = aHelper.GetSignatureInformations()[i];
- aRet.push_back(rInfo);
- }
+ aRet.insert(aRet.end(), aHelper.GetSignatureInformations().begin(),
+ aHelper.GetSignatureInformations().end());
return aRet;
}