coverity#704647 Dereference after null check
Change-Id: Ifc74e903f13e6065c507d9a90825e588c5e88a42
This commit is contained in:
parent
2a83910e72
commit
cc39a4b7d1
@ -744,9 +744,9 @@ bool ToolbarLayoutManager::dockToolbar( const OUString& rResourceURL, ui::Dockin
|
||||
|
||||
SolarMutexGuard aGuard;
|
||||
{
|
||||
if ( pToolBox )
|
||||
if (pToolBox)
|
||||
aSize = pToolBox->CalcWindowSizePixel( 1, ImplConvertAlignment( aUIElement.m_aDockedData.m_nDockedArea ) );
|
||||
else
|
||||
else if (pWindow)
|
||||
aSize = pWindow->GetSizePixel();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user