[Libreoffice-commits] .: Branch 'libreoffice-4-0' - sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Dec 4 11:31:43 PST 2012


 sc/source/ui/condformat/condformatdlgentry.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 20972abfb4f12c89c6390e834f618eb2940c8201
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Tue Dec 4 20:24:01 2012 +0100

    also workaround strange crash with ref edit field for formula condition
    
    Change-Id: I96a08b04215fdb22af5e1d2b21512544ebcc0f3a

diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx
index fe2d0e3..96c9bda 100644
--- a/sc/source/ui/condformat/condformatdlgentry.cxx
+++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -500,7 +500,7 @@ ScFormulaFrmtEntry::ScFormulaFrmtEntry( Window* pParent, ScDocument* pDoc, const
     maFtStyle( this, ScResId( FT_STYLE ) ),
     maLbStyle( this, ScResId( LB_STYLE ) ),
     maWdPreview( this, ScResId( WD_PREVIEW ) ),
-    maEdFormula( this, static_cast<ScAnyRefDlg*>(pParent->GetParent()), ScResId( ED_FORMULA ) )
+    maEdFormula( this, NULL, ScResId( ED_FORMULA ) )
 {
     Init();
 


More information about the Libreoffice-commits mailing list