[Libreoffice-commits] core.git: dbaccess/source
Stephan Bergmann
sbergman at redhat.com
Wed Jun 18 05:43:32 PDT 2014
dbaccess/source/ui/app/AppDetailPageHelper.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ae2cccdd2c45ccec1d6dc6764698f105ffa72d2f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Jun 18 14:41:35 2014 +0200
Missing null check (triggered e.g. by CppunitTest_dbaccess_dialog_save)
Change-Id: I2f78ca59bfebbcffd9a6d0309c49179457bd9172
diff --git a/dbaccess/source/ui/app/AppDetailPageHelper.cxx b/dbaccess/source/ui/app/AppDetailPageHelper.cxx
index 7ac7bcc..c0cffcf 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();
More information about the Libreoffice-commits
mailing list