[Libreoffice-commits] .: sc/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Tue Aug 2 18:30:23 PDT 2011


 sc/source/ui/miscdlgs/datafdlg.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit a1606bb4057064b23a5374741b94137809409865
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed Aug 3 03:27:17 2011 +0200

    fix for fdo#39773: crash with hidden column in Data->Form

diff --git a/sc/source/ui/miscdlgs/datafdlg.cxx b/sc/source/ui/miscdlgs/datafdlg.cxx
index 2d3db4f..a93c4f5 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();


More information about the Libreoffice-commits mailing list