diff options
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/deployment/misc/lockfile.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/source/deployment/misc/lockfile.cxx b/desktop/source/deployment/misc/lockfile.cxx index 206da8286d76..a46eedc62a3a 100644 --- a/desktop/source/deployment/misc/lockfile.cxx +++ b/desktop/source/deployment/misc/lockfile.cxx @@ -91,7 +91,9 @@ namespace desktop { time_t t = time(nullptr); for (int i = 0; i<nIdBytes; i++) { int tmpByte = comphelper::rng::uniform_int_distribution(0, 0xFF); + SAL_WNODEPRECATED_DECLARATIONS_PUSH // sprintf (macOS 13 SDK) sprintf( tmpId+i*2, "%02X", tmpByte ); + SAL_WNODEPRECATED_DECLARATIONS_POP } tmpId[nIdBytes*2]=0x00; m_aId = OUString::createFromAscii( tmpId ); |