xmlsecurity/source/helper/xsecsign.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 1b2fa783af31cf3ae030dd9dc55cbcb7dd4c7220 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Sat Nov 5 16:04:41 2022 +0100 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Sun Nov 6 11:57:25 2022 +0100 -Werror,-Wdeprecated-declarations (sprintf, macOS 13 SDK): xmlsecurity Change-Id: I58b01510fd41256660f703a3b62901fe286ffb93 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142337 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/xmlsecurity/source/helper/xsecsign.cxx b/xmlsecurity/source/helper/xsecsign.cxx index 5634ed502e8b..6788f694ec2d 100644 --- a/xmlsecurity/source/helper/xsecsign.cxx +++ b/xmlsecurity/source/helper/xsecsign.cxx @@ -44,7 +44,9 @@ OUString XSecController::createId() int length = 3; for (sal_uInt8 i : aSeq) { + SAL_WNODEPRECATED_DECLARATIONS_PUSH // sprintf (macOS 13 SDK) length += sprintf(str+length, "%04x", i); + SAL_WNODEPRECATED_DECLARATIONS_POP } return OUString::createFromAscii(str);