| commit | dfdf33a34729de7f256ed396be93fb96b4844404 | [log] |
|---|---|---|
| author | Andreas Heinisch <andreas.heinisch@yahoo.de> | Mon Nov 29 17:18:02 2021 +0100 |
| committer | Andreas Heinisch <andreas.heinisch@yahoo.de> | Thu Dec 02 20:46:27 2021 +0100 |
| tree | d9ece9558f92cf25ab82787257430031e71887fa | |
| parent | 92af2ac089ae37a6367f09622b24c6546b8ba6de [diff] |
tdf#124412 - Set actual condition for an inactive date entry In the conditional format screen, set the actual condition for an inactive date entry instead of "Date is today" in all cases. Change-Id: I3d3f05c35a9830a1e82d68521e80e88c99b43a90 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126059 Tested-by: Jenkins Reviewed-by: Andreas Heinisch <andreas.heinisch@yahoo.de>
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx index 319ca36..9fde12a 100644 --- a/sc/source/ui/condformat/condformatdlgentry.cxx +++ b/sc/source/ui/condformat/condformatdlgentry.cxx
@@ -1287,7 +1287,8 @@ ScFormatEntry* ScDateFrmtEntry::GetEntry() const OUString ScDateFrmtEntry::GetExpressionString() { return ScCondFormatHelper::GetExpression(DATE, 0); // tdf#124412 - set actual condition for an inactive date entry return ScCondFormatHelper::GetExpression(DATE, mxLbDateEntry->get_active()); } IMPL_LINK_NOARG( ScDateFrmtEntry, StyleSelectHdl, weld::ComboBox&, void )