summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-18 14:41:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-18 14:43:09 +0200
commitae2cccdd2c45ccec1d6dc6764698f105ffa72d2f (patch)
tree6900e008518c0f18cb5f87023be726db862d04c4
parent47b520024a236eac8807a33630f493a00fc5f243 (diff)
Missing null check (triggered e.g. by CppunitTest_dbaccess_dialog_save)
Change-Id: I2f78ca59bfebbcffd9a6d0309c49179457bd9172
-rw-r--r--dbaccess/source/ui/app/AppDetailPageHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
index 7ac7bccb6131..c0cffcf5e339 100644
--- a/dbaccess/source/ui/app/AppDetailPageHelper.cxx
+++ b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
@@ -686,7 +686,7 @@ void OAppDetailPageHelper::setDetailPage(Window* _pWindow)
bool bHasFocus = false;
m_aFL.Show();
{
- bHasFocus = pCurrent->HasChildPathFocus();
+ bHasFocus = pCurrent != 0 && pCurrent->HasChildPathFocus();
_pWindow->Show();
}
m_aTBPreview.Show();