summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-08-03 03:27:17 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-08-03 03:27:17 +0200
commitd7c57d14bdc8968f52aa98b4bd82a0534587e118 (patch)
tree2c474e4b4383cb3f6ac986fb38c26f168a315445 /sc
parent867981e5c1b2bae8cc0ab511359029ad5ebbf56d (diff)
fix for fdo#39773: crash with hidden column in Data->Form
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/miscdlgs/datafdlg.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/ui/miscdlgs/datafdlg.cxx b/sc/source/ui/miscdlgs/datafdlg.cxx
index 2d3db4fa816c..a93c4f5a8319 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();