remove globally disabled warnings from source files
Change-Id: Ic7b092a24b4d1e48ca11e53b507da5c2bfdeabe8
This commit is contained in:
parent
90af034821
commit
c327acab9e
@ -1432,11 +1432,4 @@ void SAL_CALL DocumentHolder::modified( const lang::EventObject& /*aEvent*/ )
|
||||
}
|
||||
}
|
||||
|
||||
// Fix strange warnings about some
|
||||
// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
|
||||
// warning C4505: 'xxx' : unreferenced local function has been removed
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -294,11 +294,4 @@ STDMETHODIMP EmbedDocument_Impl::EnumDAdvise( IEnumSTATDATA ** ppenumAdvise )
|
||||
return m_pDAdviseHolder->EnumAdvise( ppenumAdvise );
|
||||
}
|
||||
|
||||
// Fix strange warnings about some
|
||||
// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
|
||||
// warning C4505: 'xxx' : unreferenced local function has been removed
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -84,11 +84,4 @@ STDMETHODIMP EmbedDocument_Impl::ReactivateAndUndo(void)
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
// Fix strange warnings about some
|
||||
// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
|
||||
// warning C4505: 'xxx' : unreferenced local function has been removed
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -485,11 +485,4 @@ HRESULT EmbedDocument_Impl::OLENotifyDeactivation()
|
||||
|
||||
}
|
||||
|
||||
// Fix strange warnings about some
|
||||
// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
|
||||
// warning C4505: 'xxx' : unreferenced local function has been removed
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -991,11 +991,4 @@ void LockedEmbedDocument_Impl::ExecuteMethod( sal_Int16 nId )
|
||||
}
|
||||
}
|
||||
|
||||
// Fix strange warnings about some
|
||||
// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
|
||||
// warning C4505: 'xxx' : unreferenced local function has been removed
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -72,10 +72,4 @@ BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID /*lpReserved*/)
|
||||
return TRUE; // ok
|
||||
}
|
||||
|
||||
// Fix strange warnings about some
|
||||
// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
|
||||
// warning C4505: 'xxx' : unreferenced local function has been removed
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -129,11 +129,4 @@ OUString getFilterNameFromGUID_Impl( GUID* guid )
|
||||
return OUString();
|
||||
}
|
||||
|
||||
// Fix strange warnings about some
|
||||
// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
|
||||
// warning C4505: 'xxx' : unreferenced local function has been removed
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -114,11 +114,4 @@ STDMETHODIMP CIIAObj::EnableModeless(BOOL)
|
||||
return NOERROR;
|
||||
}
|
||||
|
||||
// Fix strange warnings about some
|
||||
// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
|
||||
// warning C4505: 'xxx' : unreferenced local function has been removed
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -526,11 +526,4 @@ Interceptor::setMasterDispatchProvider(
|
||||
m_xMasterDispatchProvider = NewSupplier;
|
||||
}
|
||||
|
||||
// Fix strange warnings about some
|
||||
// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
|
||||
// warning C4505: 'xxx' : unreferenced local function has been removed
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -84,10 +84,4 @@ SAL_DLLPUBLIC_EXPORT void * SAL_CALL emser_component_getFactory( const sal_Char
|
||||
|
||||
} // extern "C"
|
||||
|
||||
// Fix strange warnings about some
|
||||
// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
|
||||
// warning C4505: 'xxx' : unreferenced local function has been removed
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -266,11 +266,4 @@ STDMETHODIMP EmbedProviderFactory_Impl::LockServer( int /*fLock*/ )
|
||||
return NOERROR;
|
||||
}
|
||||
|
||||
// Fix strange warnings about some
|
||||
// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
|
||||
// warning C4505: 'xxx' : unreferenced local function has been removed
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -460,11 +460,4 @@ LRESULT APIENTRY winwrap::HatchWndProc(
|
||||
return 0L;
|
||||
}
|
||||
|
||||
// Fix strange warnings about some
|
||||
// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
|
||||
// warning C4505: 'xxx' : unreferenced local function has been removed
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -822,11 +822,4 @@ void Tracker::GetModifyPointers(
|
||||
}
|
||||
}
|
||||
|
||||
// Fix strange warnings about some
|
||||
// ATL::CAxHostWindow::QueryInterface|AddRef|Releae functions.
|
||||
// warning C4505: 'xxx' : unreferenced local function has been removed
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
@ -17,7 +17,6 @@
|
||||
#pragma warning(push)
|
||||
#pragma warning(push, 1)
|
||||
#pragma warning(disable: 4548)
|
||||
#pragma warning(disable: 4505)
|
||||
#endif
|
||||
#include <atlbase.h>
|
||||
//You may derive a class from CComModule and use it if you want to override
|
||||
|
@ -19,9 +19,6 @@
|
||||
|
||||
// SOActiveX.cpp : Implementation of CSOActiveX
|
||||
|
||||
#pragma warning (disable:4505)
|
||||
// permanently suppress "unreferenced local function has been removed" warning
|
||||
|
||||
#pragma warning (push,1)
|
||||
#pragma warning (disable:4265)
|
||||
|
||||
|
@ -24,9 +24,6 @@
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
#pragma warning (disable:4505)
|
||||
// permanently suppress "unreferenced local function has been removed" warning
|
||||
|
||||
#pragma warning (push,1)
|
||||
#pragma warning (disable:4265)
|
||||
|
||||
|
@ -35,9 +35,6 @@
|
||||
#define _ATL_APARTMENT_THREADED
|
||||
#define _ATL_STATIC_REGISTRY
|
||||
|
||||
#pragma warning (disable:4505)
|
||||
// globally disable "unreferenced local function has been removed"
|
||||
|
||||
#pragma warning (push,1)
|
||||
#pragma warning (disable:4548)
|
||||
// expression before comma has no effect; expected expression with side-effect
|
||||
|
@ -22,9 +22,6 @@
|
||||
|
||||
#include <wincrap.hxx>
|
||||
|
||||
#pragma warning (disable:4505)
|
||||
// disable "unreferenced local function has been removed" globally
|
||||
|
||||
#include "comifaces.hxx"
|
||||
|
||||
|
||||
|
@ -21,9 +21,6 @@
|
||||
|
||||
#include <wincrap.hxx>
|
||||
|
||||
#pragma warning (disable:4505)
|
||||
// disable "unreferenced local function has been removed" globally
|
||||
|
||||
#include "comifaces.hxx"
|
||||
|
||||
/* creates an UnoTypWrapper and sets the Name property to the value
|
||||
|
@ -90,10 +90,6 @@ void * ClassName::Cast( const SotFactory * pFact ) \
|
||||
return pRet; \
|
||||
}
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable: 4250)
|
||||
#endif
|
||||
|
||||
struct IUnknown;
|
||||
class SOT_DLLPUBLIC SotObject : virtual public SvRefBase
|
||||
{
|
||||
|
@ -17,10 +17,6 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning (disable : 4800)
|
||||
#endif
|
||||
|
||||
#ifndef _PATH_HELPER_HXX_
|
||||
#define _PATH_HELPER_HXX_
|
||||
|
||||
|
@ -17,10 +17,6 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning( disable : 4290 )
|
||||
#endif
|
||||
|
||||
#include "fltoptint.hxx"
|
||||
#include "objshimp.hxx"
|
||||
#include <sfx2/app.hxx>
|
||||
|
@ -26,9 +26,6 @@
|
||||
#pragma warning(push, 1)
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable: 4512)
|
||||
#endif
|
||||
#include <filter.h>
|
||||
#if defined _MSC_VER
|
||||
#pragma warning(pop)
|
||||
|
@ -50,7 +50,7 @@
|
||||
|
||||
// Warning in SDK header
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning( disable: 4242 4244 )
|
||||
#pragma warning( disable: 4242 )
|
||||
#endif
|
||||
#include <win/wincomp.hxx>
|
||||
#include <win/salids.hrc>
|
||||
|
Loading…
x
Reference in New Issue
Block a user