diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-05-29 23:33:17 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-05-30 11:37:21 -0400 |
commit | 7dd9054bdef2ac169212a74e1eff52c8f0847e8f (patch) | |
tree | 15e0cde48a1822fc84ad35ea7121a76db7f66d6b /sc/source/ui/optdlg/calcoptionsdlg.cxx | |
parent | b52fc9ad0469f5a16496b2eb5a6b77e3028814ee (diff) |
Pass the config data to the sub-dialog.
Change-Id: I7d5e5cd22a64446c379446372f29bf1c597bd783
Diffstat (limited to 'sc/source/ui/optdlg/calcoptionsdlg.cxx')
-rw-r--r-- | sc/source/ui/optdlg/calcoptionsdlg.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx index be6803bbc2ba..2e22da6618b5 100644 --- a/sc/source/ui/optdlg/calcoptionsdlg.cxx +++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx @@ -64,7 +64,7 @@ void OptionString::Paint(const Point& rPos, SvLBox& rDev, sal_uInt16 /*nFlags*/, } -ScCalcOptionsDialog::ScCalcOptionsDialog(Window* pParent) : +ScCalcOptionsDialog::ScCalcOptionsDialog(Window* pParent, const ScCalcConfig& rConfig) : ModalDialog(pParent, ScResId(RID_SCDLG_FORMULA_CALCOPTIONS)), maLbSettings(this, ScResId(LB_SETTINGS)), maFtOptionEditCaption(this, ScResId(FT_OPTION_EDIT_CAPTION)), @@ -74,7 +74,8 @@ ScCalcOptionsDialog::ScCalcOptionsDialog(Window* pParent) : maBtnOK(this, ScResId(BTN_OK)), maBtnCancel(this, ScResId(BTN_CANCEL)), maCaptionIndirectSyntax(ScResId(STR_INDIRECT_SYNTAX_CAPTION).toString()), - maDescIndirectSyntax(ScResId(STR_INDIRECT_SYNTAX_DESC).toString()) + maDescIndirectSyntax(ScResId(STR_INDIRECT_SYNTAX_DESC).toString()), + maConfig(rConfig) { maLbSettings.SetStyle(maLbSettings.GetStyle() | WB_CLIPCHILDREN | WB_FORCE_MAKEVISIBLE); maLbSettings.SetHighlightRange(); |