dbaccess/source/ui/app/AppDetailPageHelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ae2cccdd2c45ccec1d6dc6764698f105ffa72d2f Author: Stephan Bergmann <sberg...@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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits