diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-24 08:34:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-24 19:18:10 +0100 |
commit | 902698412183e93a1bd018200c63054a422f2636 (patch) | |
tree | 67daeba1b5cdb805f05f5ebcff0105d82e37f2a5 /embedserv | |
parent | 9c8ae146042a28d1d56b7c672d5b3a9d659515b4 (diff) |
loplugin:emptyif (clang-cl)
Change-Id: I8ddf764f9e155c037e25855b7d6efc49eb494179
Reviewed-on: https://gerrit.libreoffice.org/48483
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'embedserv')
-rw-r--r-- | embedserv/source/inprocserv/dllentry.cxx | 3 | ||||
-rw-r--r-- | embedserv/source/inprocserv/inprocembobj.cxx | 4 |
2 files changed, 0 insertions, 7 deletions
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; } |