mirror of
https://github.com/LibreOffice/core.git
synced 2025-07-23 04:42:03 +00:00
-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>
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user