diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-11-05 16:01:19 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-11-05 19:20:07 +0100 |
commit | edc271017fc823d600fce1b94bf65cc1ce4777fe (patch) | |
tree | e81aa0b6172fbf67e4484d4c7f11c5517033c99f /sal | |
parent | 3eee720ce275d7fad195ac6bfa44dd596eb87b64 (diff) |
-Werror,-Wdeprecated-declarations (sprintf, macOS 13 SDK): sal
Change-Id: I668a8b4c6ce3458baa6975161be7ed0cb160968f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142331
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/rtl/process/rtl_Process.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/qa/rtl/process/rtl_Process.cxx b/sal/qa/rtl/process/rtl_Process.cxx index f117c3a2a959..5d4f3e5b52c0 100644 --- a/sal/qa/rtl/process/rtl_Process.cxx +++ b/sal/qa/rtl/process/rtl_Process.cxx @@ -170,10 +170,14 @@ static void printUuidtoBuffer( const sal_uInt8 *pNode, char * pBuffer ) sal_uInt8 nValue = pNode[i1]; if (nValue < 16) { + SAL_WNODEPRECATED_DECLARATIONS_PUSH // sprintf (macOS 13 SDK) sprintf( pBuffer + nPtr, "0"); + SAL_WNODEPRECATED_DECLARATIONS_POP nPtr++; } + SAL_WNODEPRECATED_DECLARATIONS_PUSH // sprintf (macOS 13 SDK) sprintf( pBuffer + nPtr, "%02x", nValue ); + SAL_WNODEPRECATED_DECLARATIONS_POP nPtr += 2 ; } } |