summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-22 09:38:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-23 20:31:42 +0100
commit9c0c5bc5ba01f1a07abe918730675dd3c7497bb7 (patch)
tree04e541177d960f754579cb847b15399b9debb032 /sc
parent49b1107b6ea81c32628a52202ffbbcd44b042e38 (diff)
convert FormulaDlgMode to scoped enum
and drop unused ARGS value Change-Id: I9b9d0c9ea64a2174759dcf6406bdf6cd5be5862a Reviewed-on: https://gerrit.libreoffice.org/63892 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/formdlg/formula.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/formdlg/formula.cxx b/sc/source/ui/formdlg/formula.cxx
index df788d2101d1..23f4479722ee 100644
--- a/sc/source/ui/formdlg/formula.cxx
+++ b/sc/source/ui/formdlg/formula.cxx
@@ -130,7 +130,7 @@ ScFormulaDlg::ScFormulaDlg( SfxBindings* pB, SfxChildWindow* pCW,
OSL_ENSURE(pData,"FormEditData not available");
- formula::FormulaDlgMode eMode = FORMULA_FORMDLG_FORMULA; // default...
+ formula::FormulaDlgMode eMode = FormulaDlgMode::Formula; // default...
// edit if formula exists
@@ -173,7 +173,7 @@ ScFormulaDlg::ScFormulaDlg( SfxBindings* pB, SfxChildWindow* pCW,
pData->SetFStart( 1 ); // after "="
}
- pData->SetMode( static_cast<sal_uInt16>(eMode) );
+ pData->SetMode( eMode );
OUString rStrExp = GetMeText();
Update(rStrExp);