From 902698412183e93a1bd018200c63054a422f2636 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 24 Jan 2018 08:34:52 +0100 Subject: loplugin:emptyif (clang-cl) Change-Id: I8ddf764f9e155c037e25855b7d6efc49eb494179 Reviewed-on: https://gerrit.libreoffice.org/48483 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- embedserv/source/inprocserv/dllentry.cxx | 3 --- embedserv/source/inprocserv/inprocembobj.cxx | 4 ---- 2 files changed, 7 deletions(-) (limited to 'embedserv') diff --git a/embedserv/source/inprocserv/dllentry.cxx b/embedserv/source/inprocserv/dllentry.cxx index 581435cba1c3..65d8bc550a4b 100644 --- a/embedserv/source/inprocserv/dllentry.cxx +++ b/embedserv/source/inprocserv/dllentry.cxx @@ -163,9 +163,6 @@ extern "C" BOOL WINAPI DllMain( HINSTANCE hInstance, DWORD dwReason, LPVOID /*lp { g_hInstance = hInstance; } - else if (dwReason == DLL_PROCESS_DETACH) - { - } return TRUE; // ok } diff --git a/embedserv/source/inprocserv/inprocembobj.cxx b/embedserv/source/inprocserv/inprocembobj.cxx index cb43f94fe5ba..cffa2cf03c58 100644 --- a/embedserv/source/inprocserv/inprocembobj.cxx +++ b/embedserv/source/inprocserv/inprocembobj.cxx @@ -848,10 +848,6 @@ STDMETHODIMP InprocEmbedDocument_Impl::DoVerb( if ( SUCCEEDED( hr ) && pOleObject ) { hr = pOleObject->DoVerb( iVerb, pMsg, pActiveSite, nLong, hWin, pRect ); - if ( SUCCEEDED( hr ) ) - { - } - return hr; } -- cgit