summaryrefslogtreecommitdiff
path: root/sc/source/ui/view
diff options
context:
space:
mode:
authorPranam Lashkari <lpranam@collabora.com>2024-11-25 19:45:06 +0530
committerPranam Lashkari <lpranam@collabora.com>2024-12-03 16:08:36 +0100
commitec1b094127765333d7720aa7bc97832ab84babc6 (patch)
tree550391da5c3c5a09e13a42004f85749f6c20cbb6 /sc/source/ui/view
parenteb933099a537da8d667c5921d73196401ac23b89 (diff)
Revert "sc: now formula conditions can be managed
...from condition format manager" This reverts commit 8374dd472cb4a2e2edab969a73ca88ffeaadbcd8. Change-Id: I532c17596adccfa5c88baaf2df897f3ffbee0fe6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177288 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177339 Tested-by: Pranam Lashkari <lpranam@collabora.com>
Diffstat (limited to 'sc/source/ui/view')
-rw-r--r--sc/source/ui/view/cellsh3.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx
index 6206ace72f65..98a67f26e32a 100644
--- a/sc/source/ui/view/cellsh3.cxx
+++ b/sc/source/ui/view/cellsh3.cxx
@@ -468,15 +468,8 @@ void ScCellShell::Execute( SfxRequest& rReq )
bManaged = static_cast<const SfxBoolItem*>(pManaged)->GetValue();
}
- const SfxPoolItem* pFormula;
- OUString formula;
- if (pReqArgs->HasItem(FN_PARAM_3, &pFormula))
- {
- formula = static_cast<const SfxStringItem*>(pFormula)->GetValue();
- }
-
GetViewData().GetDocument().SetEasyConditionalFormatDialogData(
- ScConditionEasyDialogData(&nFormat, bManaged, formula));
+ ScConditionEasyDialogData(&nFormat, bManaged));
pScMod->SetRefDialog( nId, pWindow == nullptr );
}