summaryrefslogtreecommitdiff
path: root/include/cppuhelper/propshlp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/cppuhelper/propshlp.hxx')
-rw-r--r--include/cppuhelper/propshlp.hxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/cppuhelper/propshlp.hxx b/include/cppuhelper/propshlp.hxx
index d2e73d70770d..48e68c77349b 100644
--- a/include/cppuhelper/propshlp.hxx
+++ b/include/cppuhelper/propshlp.hxx
@@ -335,15 +335,9 @@ public:
#if !defined _MSC_VER // public -> protected changes mangled names there
protected:
-#elif defined __clang__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
#endif
~IEventNotificationHook() {}
// avoid warnings about virtual members and non-virtual dtor
-#if defined _MSC_VER && defined __clang__
-#pragma clang diagnostic pop
-#endif
};
@@ -660,23 +654,11 @@ public:
#else
protected:
#endif
-// Suppress warning about virtual functions but non-virtual destructor:
-#if defined _MSC_VER
-#if defined __clang__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
-#endif
-#endif
/**
You must call disposing before destruction.
*/
~OPropertySetHelper();
};
-#if defined _MSC_VER
-#if defined __clang__
-#pragma clang diagnostic pop
-#endif
-#endif
/**
OPropertySetHelper plus XPropertySetOption