diff options
Diffstat (limited to 'sc/source/ui/condformat')
-rw-r--r-- | sc/source/ui/condformat/condformatdlg.cxx | 10 | ||||
-rw-r--r-- | sc/source/ui/condformat/condformatdlgentry.cxx | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sc/source/ui/condformat/condformatdlg.cxx b/sc/source/ui/condformat/condformatdlg.cxx index 07f570b65529..a103e220a89c 100644 --- a/sc/source/ui/condformat/condformatdlg.cxx +++ b/sc/source/ui/condformat/condformatdlg.cxx @@ -423,8 +423,8 @@ ScCondFormatDlg::ScCondFormatDlg(SfxBindings* pB, SfxChildWindow* pCW, , mxBtnDown(m_xBuilder->weld_button("down")) , mxBtnCancel(m_xBuilder->weld_button("cancel")) , mxFtRange(m_xBuilder->weld_label("ftassign")) - , mxEdRange(new formula::WeldRefEdit(m_xBuilder->weld_entry("edassign"))) - , mxRbRange(new formula::WeldRefButton(m_xBuilder->weld_button("rbassign"))) + , mxEdRange(new formula::RefEdit(m_xBuilder->weld_entry("edassign"))) + , mxRbRange(new formula::RefButton(m_xBuilder->weld_button("rbassign"))) , mxCondFormList(new ScCondFormatList(this, m_xBuilder->weld_scrolled_window("listwindow"), m_xBuilder->weld_container("list"))) { @@ -530,7 +530,7 @@ bool ScCondFormatDlg::IsRefInputMode() const void ScCondFormatDlg::SetReference(const ScRange& rRef, ScDocument*) { - formula::WeldRefEdit* pEdit = mpLastEdit; + formula::RefEdit* pEdit = mpLastEdit; if (!mpLastEdit) pEdit = mxEdRange.get(); @@ -665,7 +665,7 @@ void ScCondFormatDlg::OnSelectionChange(size_t nIndex, size_t nSize, bool bSelec } } -IMPL_LINK(ScCondFormatDlg, EdRangeModifyHdl, formula::WeldRefEdit&, rEdit, void) +IMPL_LINK(ScCondFormatDlg, EdRangeModifyHdl, formula::RefEdit&, rEdit, void) { OUString aRangeStr = rEdit.GetText(); ScRangeList aRange; @@ -685,7 +685,7 @@ IMPL_LINK(ScCondFormatDlg, EdRangeModifyHdl, formula::WeldRefEdit&, rEdit, void) updateTitle(); } -IMPL_LINK(ScCondFormatDlg, RangeGetFocusHdl, formula::WeldRefEdit&, rControl, void) +IMPL_LINK(ScCondFormatDlg, RangeGetFocusHdl, formula::RefEdit&, rControl, void) { mpLastEdit = &rControl; } diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx index 2a0e5f5ad34b..a55b5336622d 100644 --- a/sc/source/ui/condformat/condformatdlgentry.cxx +++ b/sc/source/ui/condformat/condformatdlgentry.cxx @@ -142,8 +142,8 @@ ScConditionFrmtEntry::ScConditionFrmtEntry(ScCondFormatList* pParent, ScDocument const ScAddress& rPos, const ScCondFormatEntry* pFormatEntry) : ScCondFrmtEntry(pParent, pDoc, rPos) , mxLbCondType(mxBuilder->weld_combo_box("typeis")) - , mxEdVal1(new formula::WeldRefEdit(mxBuilder->weld_entry("val1"))) - , mxEdVal2(new formula::WeldRefEdit(mxBuilder->weld_entry("val2"))) + , mxEdVal1(new formula::RefEdit(mxBuilder->weld_entry("val1"))) + , mxEdVal2(new formula::RefEdit(mxBuilder->weld_entry("val2"))) , mxFtVal(mxBuilder->weld_label("valueft")) , mxFtStyle(mxBuilder->weld_label("styleft")) , mxLbStyle(mxBuilder->weld_combo_box("style")) @@ -233,7 +233,7 @@ ScFormatEntry* ScConditionFrmtEntry::createConditionEntry() const return pEntry; } -IMPL_LINK(ScConditionFrmtEntry, OnEdChanged, formula::WeldRefEdit&, rRefEdit, void) +IMPL_LINK(ScConditionFrmtEntry, OnEdChanged, formula::RefEdit&, rRefEdit, void) { weld::Entry& rEdit = *rRefEdit.GetWidget(); OUString aFormula = rEdit.get_text(); @@ -488,7 +488,7 @@ ScFormulaFrmtEntry::ScFormulaFrmtEntry(ScCondFormatList* pParent, ScDocument* pD , mxLbStyle(mxBuilder->weld_combo_box("style")) , mxWdPreviewWin(mxBuilder->weld_widget("previewwin")) , mxWdPreview(new weld::CustomWeld(*mxBuilder, "preview", maWdPreview)) - , mxEdFormula(new formula::WeldRefEdit(mxBuilder->weld_entry("formula"))) + , mxEdFormula(new formula::RefEdit(mxBuilder->weld_entry("formula"))) { mxWdPreview->set_size_request(-1, mxLbStyle->get_preferred_size().Height()); |