summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/inc/certificate.hxx2
-rw-r--r--xmlsecurity/source/pdfio/pdfdocument.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/inc/certificate.hxx b/xmlsecurity/inc/certificate.hxx
index 19db38695c17..0698e91f422f 100644
--- a/xmlsecurity/inc/certificate.hxx
+++ b/xmlsecurity/inc/certificate.hxx
@@ -28,7 +28,7 @@ public:
virtual css::uno::Sequence<sal_Int8> getSHA256Thumbprint() = 0;
protected:
- ~Certificate() throw () {}
+ ~Certificate() noexcept = default;
};
}
diff --git a/xmlsecurity/source/pdfio/pdfdocument.cxx b/xmlsecurity/source/pdfio/pdfdocument.cxx
index 68619d7047f7..6925b41a1960 100644
--- a/xmlsecurity/source/pdfio/pdfdocument.cxx
+++ b/xmlsecurity/source/pdfio/pdfdocument.cxx
@@ -378,7 +378,7 @@ bool ValidateSignature(SvStream& rStream, vcl::filter::PDFObjectElement* pSignat
continue;
}
size_t nByteRangeLength = pNumber->GetValue();
- aByteRanges.push_back(std::make_pair(nByteRangeOffset, nByteRangeLength));
+ aByteRanges.emplace_back(nByteRangeOffset, nByteRangeLength);
}
// Detect if the byte ranges don't cover everything, but the signature itself.