summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/typeprovider.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/cppuhelper/source/typeprovider.cxx b/cppuhelper/source/typeprovider.cxx
index c4258ef61cc8..c69aa11ab6c9 100644
--- a/cppuhelper/source/typeprovider.cxx
+++ b/cppuhelper/source/typeprovider.cxx
@@ -28,12 +28,21 @@ using namespace com::sun::star::uno;
namespace cppu
{
+// suppress spurious warning triggered by SAL_DEPRECATED in class declaration
+#if defined _MSC_VER && !defined __clang__
+#pragma warning(push)
+#pragma warning(disable: 4996)
+#endif
OImplementationId::~OImplementationId()
{
delete _pSeq;
}
+#if defined _MSC_VER && !defined __clang__
+#pragma warning(pop)
+#endif
+
Sequence< sal_Int8 > OImplementationId::getImplementationId() const
{
if (! _pSeq)