summaryrefslogtreecommitdiff
path: root/emfio/source
diff options
context:
space:
mode:
Diffstat (limited to 'emfio/source')
-rw-r--r--emfio/source/reader/emfreader.cxx2
-rw-r--r--emfio/source/reader/wmfreader.cxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/emfio/source/reader/emfreader.cxx b/emfio/source/reader/emfreader.cxx
index f34250f0ba19..63da12dbbb1c 100644
--- a/emfio/source/reader/emfreader.cxx
+++ b/emfio/source/reader/emfreader.cxx
@@ -306,7 +306,9 @@ record_type_name(sal_uInt32 nRecType)
// Yes, return a pointer to a static buffer. This is a very
// local debugging output function, so no big deal.
static char buffer[11];
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH // sprintf (macOS 13 SDK)
sprintf(buffer, "0x%08" SAL_PRIxUINT32, nRecType);
+ SAL_WNODEPRECATED_DECLARATIONS_POP
return buffer;
}
#endif
diff --git a/emfio/source/reader/wmfreader.cxx b/emfio/source/reader/wmfreader.cxx
index f17654097ba0..353d346b2e2e 100644
--- a/emfio/source/reader/wmfreader.cxx
+++ b/emfio/source/reader/wmfreader.cxx
@@ -237,7 +237,9 @@ namespace
// Yes, return a pointer to a static buffer. This is a very
// local debugging output function, so no big deal.
static char buffer[11];
+ SAL_WNODEPRECATED_DECLARATIONS_PUSH // sprintf (macOS 13 SDK)
sprintf(buffer, "0x%08" SAL_PRIxUINT32, sal_uInt32(nRecType));
+ SAL_WNODEPRECATED_DECLARATIONS_POP
return buffer;
}
#endif