cppuhelper: MSVC: pragma warning: make more specific, remove obsolete
Change-Id: Ib097ea1764d275a3123d0dccf05d52315b4858a1 Reviewed-on: https://gerrit.libreoffice.org/48971 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
@@ -55,10 +55,6 @@ static void sequenceRemoveElementAt( Sequence< Reference< XInterface > > & rSeq,
|
||||
rSeq = aDestSeq;
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning( disable: 4786 )
|
||||
#endif
|
||||
|
||||
OInterfaceIteratorHelper::OInterfaceIteratorHelper( OInterfaceContainerHelper & rCont_ )
|
||||
: rCont( rCont_ )
|
||||
{
|
||||
|
@@ -56,12 +56,6 @@ namespace cppu {
|
||||
|
||||
template< typename T > class PropertySetMixin;
|
||||
|
||||
// Suppress warnings about virtual functions but non-virtual destructor:
|
||||
#if defined _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4265)
|
||||
#endif
|
||||
|
||||
/**
|
||||
@short A helper base class for <code>cppu::PropertySetMixin</code>.
|
||||
|
||||
@@ -429,10 +423,6 @@ private:
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
#if defined _MSC_VER
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@@ -661,8 +661,6 @@ protected:
|
||||
#endif
|
||||
// Suppress warning about virtual functions but non-virtual destructor:
|
||||
#if defined _MSC_VER
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable: 4265)
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wnon-virtual-dtor"
|
||||
@@ -677,7 +675,6 @@ protected:
|
||||
#if defined __clang__
|
||||
#pragma clang diagnostic pop
|
||||
#endif
|
||||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user