summaryrefslogtreecommitdiff
path: root/include/cppuhelper/propertysetmixin.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-16 14:41:45 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-16 14:41:45 +0200
commita1b1b79adb9f93a1bb503862675bc42814900ac9 (patch)
treeeece42676275e0b6d695a12174560abb867dec91 /include/cppuhelper/propertysetmixin.hxx
parent42852bb7a33fcfac793224d12cb46ba2f4c8e598 (diff)
For GCC 4.9, extend range where -Wnon-virtual-dtor is ignored
Change-Id: Ib44f5b2f6be7ae583d8931fc8bf5cb060ef21610
Diffstat (limited to 'include/cppuhelper/propertysetmixin.hxx')
-rw-r--r--include/cppuhelper/propertysetmixin.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/cppuhelper/propertysetmixin.hxx b/include/cppuhelper/propertysetmixin.hxx
index 88d460ba7058..0a88945727b0 100644
--- a/include/cppuhelper/propertysetmixin.hxx
+++ b/include/cppuhelper/propertysetmixin.hxx
@@ -403,10 +403,6 @@ private:
void checkUnknown(rtl::OUString const & propertyName);
};
-#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY && HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE \
- && !defined __clang__
-#pragma GCC diagnostic pop
-#endif
/**
@short A helper mixin to implement certain UNO interfaces related to property
@@ -482,6 +478,10 @@ private:
PropertySetMixin( const PropertySetMixin&); // not defined
void operator=( const PropertySetMixin&); // not defined
};
+#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY && HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE \
+ && !defined __clang__
+#pragma GCC diagnostic pop
+#endif
#if defined _MSC_VER
#pragma warning(pop)