summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-11-05 16:04:41 +0100
committerStephan Bergmann <sbergman@redhat.com>2022-11-06 11:57:25 +0100
commit1b2fa783af31cf3ae030dd9dc55cbcb7dd4c7220 (patch)
tree2b763ccf591ef99d97625b9964d693464c5928ad /xmlsecurity
parenta28f89581c0395f4af76161e1c99302d9f665a8f (diff)
-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 <sbergman@redhat.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/helper/xsecsign.cxx2
1 files changed, 2 insertions, 0 deletions
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);