Kaydet (Commit) b23e4d2b authored tarafından Mike Kaganski's avatar Mike Kaganski

cppuhelper: MSVC: pragma warning: make more specific, remove obsolete

Change-Id: Ib097ea1764d275a3123d0dccf05d52315b4858a1
Reviewed-on: https://gerrit.libreoffice.org/48971Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
üst 3c879be2
......@@ -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
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment