diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-10 10:18:10 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-10 13:03:20 +0200 |
commit | c327acab9e5a49b0967c15adb923d99fed5bbc1c (patch) | |
tree | b170d80108ad03fc21ed8b2fbac05f6c708f7c4c /embedserv/source | |
parent | 90af0348216a5a3c2eecd660e012500d2917b279 (diff) |
remove globally disabled warnings from source files
Change-Id: Ic7b092a24b4d1e48ca11e53b507da5c2bfdeabe8
Diffstat (limited to 'embedserv/source')
-rw-r--r-- | embedserv/source/embed/docholder.cxx | 7 | ||||
-rw-r--r-- | embedserv/source/embed/ed_idataobj.cxx | 7 | ||||
-rw-r--r-- | embedserv/source/embed/ed_iinplace.cxx | 7 | ||||
-rw-r--r-- | embedserv/source/embed/ed_ioleobject.cxx | 7 | ||||
-rw-r--r-- | embedserv/source/embed/ed_ipersiststr.cxx | 7 | ||||
-rw-r--r-- | embedserv/source/embed/esdll.cxx | 6 | ||||
-rw-r--r-- | embedserv/source/embed/guid.cxx | 7 | ||||
-rw-r--r-- | embedserv/source/embed/iipaobj.cxx | 7 | ||||
-rw-r--r-- | embedserv/source/embed/intercept.cxx | 7 | ||||
-rw-r--r-- | embedserv/source/embed/register.cxx | 6 | ||||
-rw-r--r-- | embedserv/source/embed/servprov.cxx | 7 | ||||
-rw-r--r-- | embedserv/source/embed/syswinwrapper.cxx | 7 | ||||
-rw-r--r-- | embedserv/source/embed/tracker.cxx | 7 | ||||
-rw-r--r-- | embedserv/source/inc/stdafx.h | 1 |
14 files changed, 0 insertions, 90 deletions
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx index f09a0b5cf7a4..1b2732cb8b51 100644 --- a/embedserv/source/embed/docholder.cxx +++ b/embedserv/source/embed/docholder.cxx @@ -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: */ diff --git a/embedserv/source/embed/ed_idataobj.cxx b/embedserv/source/embed/ed_idataobj.cxx index fa3d79a3f376..2bad409194ca 100644 --- a/embedserv/source/embed/ed_idataobj.cxx +++ b/embedserv/source/embed/ed_idataobj.cxx @@ -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: */ diff --git a/embedserv/source/embed/ed_iinplace.cxx b/embedserv/source/embed/ed_iinplace.cxx index ef2b2dcf72ba..5ca62c67f49c 100644 --- a/embedserv/source/embed/ed_iinplace.cxx +++ b/embedserv/source/embed/ed_iinplace.cxx @@ -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: */ diff --git a/embedserv/source/embed/ed_ioleobject.cxx b/embedserv/source/embed/ed_ioleobject.cxx index 6c2b053dfdd8..fab8588fbd53 100644 --- a/embedserv/source/embed/ed_ioleobject.cxx +++ b/embedserv/source/embed/ed_ioleobject.cxx @@ -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: */ diff --git a/embedserv/source/embed/ed_ipersiststr.cxx b/embedserv/source/embed/ed_ipersiststr.cxx index b559ef91fb7e..34de2efb783f 100644 --- a/embedserv/source/embed/ed_ipersiststr.cxx +++ b/embedserv/source/embed/ed_ipersiststr.cxx @@ -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: */ diff --git a/embedserv/source/embed/esdll.cxx b/embedserv/source/embed/esdll.cxx index bb53b88005c9..911ffdc06b2a 100644 --- a/embedserv/source/embed/esdll.cxx +++ b/embedserv/source/embed/esdll.cxx @@ -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: */ diff --git a/embedserv/source/embed/guid.cxx b/embedserv/source/embed/guid.cxx index b76d851bb1e9..bdbb015a0e40 100644 --- a/embedserv/source/embed/guid.cxx +++ b/embedserv/source/embed/guid.cxx @@ -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: */ diff --git a/embedserv/source/embed/iipaobj.cxx b/embedserv/source/embed/iipaobj.cxx index bfff766af90e..cec2d5b11017 100644 --- a/embedserv/source/embed/iipaobj.cxx +++ b/embedserv/source/embed/iipaobj.cxx @@ -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: */ diff --git a/embedserv/source/embed/intercept.cxx b/embedserv/source/embed/intercept.cxx index 750c74a12d40..2593c3e94c0e 100644 --- a/embedserv/source/embed/intercept.cxx +++ b/embedserv/source/embed/intercept.cxx @@ -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: */ diff --git a/embedserv/source/embed/register.cxx b/embedserv/source/embed/register.cxx index 85b9c4bcc11a..ca092492e681 100644 --- a/embedserv/source/embed/register.cxx +++ b/embedserv/source/embed/register.cxx @@ -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: */ diff --git a/embedserv/source/embed/servprov.cxx b/embedserv/source/embed/servprov.cxx index e96c178b86f8..8f365414c327 100644 --- a/embedserv/source/embed/servprov.cxx +++ b/embedserv/source/embed/servprov.cxx @@ -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: */ diff --git a/embedserv/source/embed/syswinwrapper.cxx b/embedserv/source/embed/syswinwrapper.cxx index 0621eb54ebb4..dd124b1278a0 100644 --- a/embedserv/source/embed/syswinwrapper.cxx +++ b/embedserv/source/embed/syswinwrapper.cxx @@ -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: */ diff --git a/embedserv/source/embed/tracker.cxx b/embedserv/source/embed/tracker.cxx index 61338dbe4487..8375ba0777fc 100644 --- a/embedserv/source/embed/tracker.cxx +++ b/embedserv/source/embed/tracker.cxx @@ -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: */ diff --git a/embedserv/source/inc/stdafx.h b/embedserv/source/inc/stdafx.h index abfc022a935e..8ecf254a7487 100644 --- a/embedserv/source/inc/stdafx.h +++ b/embedserv/source/inc/stdafx.h @@ -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 |