Kaydet (Commit) 974f3183 authored tarafından Caolán McNamara's avatar Caolán McNamara

pvs-studio: pointer was utilized before it was verified against nullptr

Change-Id: Ib677c60019f7ce7d26809e50489f04a457b4c224
Reviewed-on: https://gerrit.libreoffice.org/62066
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst a8a0d0fa
......@@ -872,8 +872,6 @@ void AccObject::UpdateState()
short Role = m_accRole;
if( m_pIMAcc )
{
switch(m_accRole)
{
case LABEL:
......@@ -909,7 +907,6 @@ void AccObject::UpdateState()
default:
break;
}
}
if( isEnable )
{
......@@ -970,8 +967,6 @@ void AccObject::UpdateState()
}
}
if( m_pIMAcc )
{
switch(m_accRole)
{
case POPUP_MENU:
......@@ -985,9 +980,8 @@ void AccObject::UpdateState()
default:
break;
}
}
}
/**
* update location information from uno to com
* @param
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment