diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2011-08-03 03:14:55 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-02 23:29:37 -0400 |
commit | 564f55163b3f8b18ae6a45a479b7d1760046588c (patch) | |
tree | 506403ec3e7fb2d0c78090b3b92e984a179e0be9 | |
parent | 9ba41955da1064c44cf0cecef9d444bcbacf3aee (diff) |
fix for fdo#39773: crash with hidden column in Data->Form
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
-rw-r--r-- | sc/source/ui/miscdlgs/datafdlg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/miscdlgs/datafdlg.cxx b/sc/source/ui/miscdlgs/datafdlg.cxx index 10ef3a3b7..d8774f21a 100644 --- a/sc/source/ui/miscdlgs/datafdlg.cxx +++ b/sc/source/ui/miscdlgs/datafdlg.cxx @@ -201,7 +201,8 @@ ScDataFormDlg::ScDataFormDlg( Window* pParent, ScTabViewShell* pTabViewShellOri pFixedTexts[nIndex] = NULL; pEdits[nIndex] = NULL; } - pEdits[nIndex]->SetModifyHdl( HDL(Impl_DataModifyHdl) ); + if (pEdits[nIndex]) + pEdits[nIndex]->SetModifyHdl( HDL(Impl_DataModifyHdl) ); } Size nDialogSize = this->GetSizePixel(); |