diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-04 20:24:01 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-12-04 20:24:41 +0100 |
commit | f2cce815d17ecab4a9440d3cae2064db60fa5d2c (patch) | |
tree | c4fd3b53694862cdbf016b5a556e977119b2bbd6 | |
parent | 0990da105f89004f6071cf8cfee271e8b5f2d2c8 (diff) |
also workaround strange crash with ref edit field for formula condition
Change-Id: I96a08b04215fdb22af5e1d2b21512544ebcc0f3a
-rw-r--r-- | sc/source/ui/condformat/condformatdlgentry.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx index fe2d0e3c583b..96c9bdab6445 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(); |