diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-01-31 23:01:32 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-01-31 23:01:32 +0100 |
commit | f6f5bde055f299e18a369714469dd39d6917e09d (patch) | |
tree | 4d75aef43623d4b017861f8849c3916b84e13ced /extensions | |
parent | a96ae2104df11dab6c7255d733aad67043986109 (diff) |
Some cppcheck cleaning
Change-Id: I57baea223b0f0a78346d9872665ab85c00c8fc51
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/plugin/win/sysplug.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/plugin/win/sysplug.cxx b/extensions/source/plugin/win/sysplug.cxx index b44671924e43..1e60f6c32274 100644 --- a/extensions/source/plugin/win/sysplug.cxx +++ b/extensions/source/plugin/win/sysplug.cxx @@ -82,13 +82,12 @@ PluginComm_Impl::PluginComm_Impl( const OUString& /*rMIME*/, const OUString& rNa #endif DBG_ASSERT( _plDLL, "### loading plugin dll failed!" ); - NPError nErr = NPERR_NO_ERROR; NPError (WINAPI * pEntry)( NPPluginFuncs* ); retrieveFunction( _T("NP_GetEntryPoints"), (void**)&pEntry ); _NPPfuncs.size = sizeof( _NPPfuncs ); _NPPfuncs.version = 0; - nErr = (*pEntry)( &_NPPfuncs ); + NPError nErr = (*pEntry)( &_NPPfuncs ); DBG_ASSERT( nErr == NPERR_NO_ERROR, "### NP_GetEntryPoints() failed!" ); DBG_ASSERT( (_NPPfuncs.version >> 8) >= NP_VERSION_MAJOR, |