cppCheck narrowed variableScope rEntry
Change-Id: I04b0b0dc85afdceead9766d8a45e21055074d5fc Reviewed-on: https://gerrit.libreoffice.org/63248 Tested-by: Jenkins Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
This commit is contained in:
parent
4d39ec0780
commit
18f9abffad
1 changed files with 2 additions and 2 deletions
|
@ -400,12 +400,12 @@ void ComponentContext::disposing()
|
|||
t_map::iterator const iEnd( m_map.end() );
|
||||
for ( ; iPos != iEnd; ++iPos )
|
||||
{
|
||||
ContextEntry& rEntry = iPos->second;
|
||||
|
||||
// service manager disposed separately
|
||||
if (!m_xSMgr.is() ||
|
||||
!iPos->first.startsWith( SMGR_SINGLETON ))
|
||||
{
|
||||
ContextEntry& rEntry = iPos->second;
|
||||
|
||||
if (rEntry.lateInit)
|
||||
{
|
||||
// late init
|
||||
|
|
Loading…
Reference in a new issue