diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2024-10-05 11:29:06 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2024-10-05 13:41:44 +0200 |
commit | f3c294093bcdb25a420ac9d068329cecca16c4d8 (patch) | |
tree | 2c635bedd498eb5095ec4eb23a5c2e09ca08e337 /sc/source/ui | |
parent | a6a69211230226ac8b6c17d016fc19eb8ee11261 (diff) |
cid#1620560: REVERSE_INULL in condformatdlgentry
Change-Id: I4e80e1d3b4c1e4b3f08dcdca6dd64473ff87364d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174532
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/condformat/condformatdlgentry.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sc/source/ui/condformat/condformatdlgentry.cxx b/sc/source/ui/condformat/condformatdlgentry.cxx index 0e6a55f7a023..d23b254829e2 100644 --- a/sc/source/ui/condformat/condformatdlgentry.cxx +++ b/sc/source/ui/condformat/condformatdlgentry.cxx @@ -1281,13 +1281,12 @@ ScIconSetFrmtDataEntry::ScIconSetFrmtDataEntry(weld::Container* pParent, ScIconS , mxLbEntryType(mxBuilder->weld_combo_box(u"listbox"_ustr)) , mpContainer(pParent) { - // tdf#162948: Use ">" instead of ">=". Add some spaces to keep the alignment - if (!pEntry->GetGreaterThanOrEqual()) - mxFtEntry->set_label(" > "); - mxImgIcon->set_from_icon_name(ScIconSetFormat::getIconName(eType, i)); if(pEntry) { + // tdf#162948: Use ">" instead of ">=". Add some spaces to keep the alignment + if (!pEntry->GetGreaterThanOrEqual()) + mxFtEntry->set_label(" > "); switch(pEntry->GetType()) { case COLORSCALE_VALUE: |