diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 13:39:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-23 14:22:44 +0000 |
commit | 44f5f2bd34f79d4035caa8310401f03b0797fe74 (patch) | |
tree | fbae3f41a668564db0602e0cbf8c9e54c3996b15 /framework/source/layoutmanager | |
parent | cc39a4b7d131c697d8f207da3acc4bba93cdd5cc (diff) |
coverity#704648 Dereference after null check
Change-Id: I0b6c5dc5b1225fb15c99401501b2c5cc2bb94b58
Diffstat (limited to 'framework/source/layoutmanager')
-rw-r--r-- | framework/source/layoutmanager/toolbarlayoutmanager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.cxx b/framework/source/layoutmanager/toolbarlayoutmanager.cxx index 9566a414fd62..d9ebead05d60 100644 --- a/framework/source/layoutmanager/toolbarlayoutmanager.cxx +++ b/framework/source/layoutmanager/toolbarlayoutmanager.cxx @@ -3737,7 +3737,7 @@ throw (uno::RuntimeException) SolarMutexGuard aGuard; if ( pToolBox ) aSize = pToolBox->CalcWindowSizePixel( 1, ImplConvertAlignment( aUIDockingElement.m_aDockedData.m_nDockedArea ) ); - else + else if ( pWindow ) aSize = pWindow->GetSizePixel(); } |